Defines a Genkit flow and registers it so it can be executed inside a
Temporal Workflow.
The returned value is a normal Genkit flow — callable locally with
await flow(input) — but it is also available to the bundled Temporal
Workflow defined in genkitx-temporal/workflows via the activity layer.
Defines a Genkit flow and registers it so it can be executed inside a Temporal Workflow.
The returned value is a normal Genkit flow — callable locally with
await flow(input)— but it is also available to the bundled Temporal Workflow defined ingenkitx-temporal/workflowsvia the activity layer.