Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create an evaluation dataset

An evaluation dataset contains inputs and the answers you expect the workflow to produce. Use it to check behavior consistently after a workflow change.

Before you start

Identify the project inputs and outputs with its builder before mapping fields. Choose the evaluation method so you know when a reference answer is needed. Reference-free evaluators can score cases without an expected answer; methods that compare against a reference require a reviewed one for each case.

Choose the workflow fields

Review the workflow's required inputs and expected outputs before creating a dataset.

Workflow input and output fields

Expected answers must represent the behavior you want to evaluate.

Open Evals → Datasets → New dataset, enter a name and description, and select the input and expected-output nodes.

New dataset name and node mappings

These mappings define the fields each dataset row must provide.

Import existing runs

Review Import from runs before accepting captured outputs as expected answers.

Import from runs controls

An earlier response is a useful starting point only if it is correct for the intended evaluation.

Add and edit dataset rows

Choose Add row and enter an input with its correct expected output.

Dataset row input and expected output

Keep the expected answer specific enough for the evaluator you plan to use.

Add more rows covering different requests the workflow should handle.

Additional dataset case

Consistent field mappings let the evaluator compare the resulting outputs across cases.

Include cases that help reveal incorrect behavior or evaluator weaknesses.

Case intended to reveal incorrect behavior

Review expected values carefully. An incorrect reference answer can cause a valid workflow response to fail evaluation.

Import a CSV file

Open Import CSV to review the required headers and mapping instructions.

CSV import and template controls

Use Download template for the dataset's expected file structure before importing your rows.

Review the saved dataset

Reopen a row to verify its saved input and expected output.

Saved dataset row and Input & output mappings

Check Input & output to confirm that the dataset still targets the intended nodes.

Review the complete dataset table and row sources.

Dataset table and row sources

Correct mistaken reference values before using the dataset in an experiment.

Important behavior

Review expected answers before using the dataset. A response imported from a past run is not automatically correct.

Include both typical inputs and inputs that are difficult for the workflow.

Last updated

Was this helpful?