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

Supported Blocks

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

Currently, the supported Blocks are:

These blocks can also be used in Datasets as Dynamic Columns.