Flows are a way to chain prompts, API calls, Retrievals, Code Functions, and more together to build complex pipelines.

You can then run these Flows in the UI, on a dataset, or via the API.

Use Cases

  • Run multi-step workflows on a dataset
  • Chain prompts with different models
  • Chain prompts with Retrievals, Code Functions, and more
  • Build multi-step evaluation workflows

Blocks

Flows are composed of Blocks, that can be chained together to form a Flow.

Read more about Blocks here.