Aller au contenu
Agentic Workflowdocs
v0.9.0Installer gratuitement

nœuds / builtin / trigger

Evaluation Trigger

Run the workflow once per row of a test dataset, from Test runs only

Déclencheur ExtensionApplication webDepuis 0.9.0

Ce contenu n’est pas encore disponible dans votre langue.

Hold the test rows of an evaluation. Test runs starts the workflow here, once per row, to measure how well it answers.

The Evaluation Trigger never starts a normal run: pressing Run ignores it, and it doesn’t run on a schedule or any other trigger. Only Run evaluation in the canvas ⋯ menu › Test runs uses it. Each row becomes one run, and the row’s columns are this trigger’s output.

Rows come from:

  • Data Store: a Dataset key that holds a list of rows, or a key prefix ending in * (one row per key, in key order). Whose keys picks this workflow’s keys or all workflows’.
  • CSV: rows pasted in the step, with a header line.

Up to caps the rows per evaluation run (50 by default, at most 500).

  • Google Sheets: a sheet read with the step’s Google connection (the spreadsheet’s link or ID, and the worksheet’s gid). The first row names the columns; each non-empty row below is a case.

To add a real run as a case, open it in Runs and use Add this run’s input to the test dataset (Data Store lists only, not a key prefix).

  • Before changing the model or the prompt of an AI workflow: run the same cases before and after, and compare.
  • To keep a set of tricky inputs that once went wrong, and check they stay fixed.

See Test runs for the whole method.

RéglageTypeCe que cela fait
Rows from ChoiceOptions: Data Store, CSV, Google Sheets. Par défaut : Data Store
Dataset TextA Data Store key holding a list of rows, or a key prefix (one row per key, end it with *).
Whose keys ChoiceOptions: This workflow, All workflows. Par défaut : This workflow
CSV Long textPaste the rows, with a header line.
Connection Credential
Spreadsheet One of several shapesPaste its link or ID.
Worksheet ID TextThe gid in the link; empty = the first sheet.
Up to NumberRows per evaluation run (at most 500). Par défaut : 50

Put the expected answer in a column of the dataset (for example expected), so an Evaluation step can compare it with what the workflow produced.

Pasted CSV
question,expected
Where is my order 1042?,shipping
Can I get a refund?,billing
  • Output

Each output item has these fields:

FieldTypeWhat it holds
_evalRow Number
Shape of an output item
{
"_evalRow": 0
}

The row’s columns, plus _evalRow (the row number, from 0).

  1. Evaluation Trigger with the CSV above, next to the workflow’s normal Chat Trigger.
  2. Both triggers lead into the same Text Classifier.
  3. An Evaluation step, Set metrics, Category, expected {{ $('Evaluation Trigger').expected }}.
  • “The dataset has no rows.”: the key is empty, or no key starts with the prefix.
  • “Paste the CSV rows, with a header line.”: the CSV box is empty.
  • “Save first: test runs use the saved workflow.”: Test runs always run the saved version. Save, then run the evaluation.
Modifier cette page

Dernière mise à jour :

Was this page useful?
Demander à Aria à propos de Evaluation Trigger