eval run is the core command that ties the evaluation loop together: it takes an evaluation dataset and one or more evaluators, and submits an experiment against a deployed runtime (the eval target). The dataset, evaluators, and target can all be specified by id or name, and field mapping is done automatically by default.
Flags and arguments
Automatic field mapping
An experiment has three layers of data to align: dataset fields → target input / output → evaluator inputs.eval run connects them automatically by convention:
- The target runtime conventionally uses
user_inputas its input field andactual_outputas its output field; the dataset’s primary input field (such asinput) is passed to the target’suser_input. - The evaluator field that represents the “model answer” (such as
output) is supplied by the target outputactual_output; the remaining fields (such asinput,reference_output) are taken from the dataset by matching name.
--map to override.
--map syntax
Check with dry-run first
It is strongly recommended to add--dry-run before your first run, to confirm the resolved dataset version, target, and field mapping are correct:
An experiment requires the dataset to have a committed version. If the dataset only has an uncommitted draft,
eval run will automatically publish a version before submitting — version management is transparent to you and requires no manual action.eval experiment get: