Batch Run

What is the Batch Run Interface?

The Batch Run Interface is an interface where you can run multiple executions in one go. This interface is particularly useful when you have a list of inputs you want to run your flow on, and you do not want to run them one at a time. This interface is similar to the Chat Assistant, but instead of one input, you can run many all at once using a CSV file.

With the Batch Run Interface, you will be able to:

  • Upload a CSV with all the inputs for the executions you want to run

  • Run all the executions in the CSV

  • Export the results as a CSV file

  • Run individual executions if required (go to the input you want and click Run there)

Here are a few quick facts:

  • The inputs can be text fields of any length.

  • Multiple inputs can be run at once if appearing in the flow (in-0, in-1, etc.).

  • Multiple outputs can be generated as well for each execution (out-0, out-1, etc.).

  • Inputs can only be text for now.

  • Multiple runs are executed in parallel, optimizing the overall latency.

Uploading a CSV

On the to left side of the "Batch run" page you will find the button to upload a CSV file with the inputs for the executions you want to run. You can also add inputs manually by clicking on "Add Run".

IMPORTANT: include a header in your CSV with the name of the inputs so that the system can recognize them.

Click on the "Run Batch" button to run all the executions in the CSV.

Once the executions are done, you can also download the results as a CSV file.

Last updated

Was this helpful?