Evaluate a workflow
Add test cases to a workflow's Evaluations tab, run them on the draft or a version, and see which rules passed before you publish.
Open the workflow, then its Evaluations tab (/workflows/:pipeline/evaluations). An evaluation runs your test cases and checks each reply against the case's rules. Every rule passes or fails, so you can see what changed before you publish.
Add a case
- Under Test set, choose Add a case (or Add your first case on an empty set).
- Give it a Name and its Start fields, one per line as
name: value, for examplerequest: Somewhere quiet on Friday. These are what the workflow starts with. - Optionally write A good answer. It is given to the AI checks as context; it is not a rule of its own.
- Under Passes when, add the rules a good reply meets: simple checks that compare what the run did (free), AI checks that ask a yes-or-no question, and a scorecard. AI checks and the scorecard are asked together: one AI check per case.
- Choose Add case.
- You can also add a case from a test you saved (Saved tests), or with Add to test set on a past run on the workflow's Runs tab (
/workflows/:pipeline/runs). Words from real runs stay hidden in the test set until someone who may read conversations shows them, and showing them is recorded in the audit log with a reason.
If the page says rules are kept on this page for now, the server keeps only part of each case's rules, and the rest run once the server supports them.
Run the test set
- Under Run the test set, choose what to Run on: the Draft, Live or an earlier version. Optionally choose one to Compare with.
- Choose Run test set. Runs are tests: anything that would reach out runs dry and nothing is sent. Each run is charged like other tests.
- The result shows how many cases passed, each metric's score, each case's rules passed or failed with the reason, the cases that got better or worse against the version compared, and the cost.
Metrics and the publish check
- Metrics are yes-or-no questions scored from 0 to 100. A case passes a metric at or above its threshold. Only administrators add or reword the company's own metrics.
- Publish check: the company can hold back Publish when the draft scores worse than Live, with an allowed drop from 0 to 100. Only administrators change it.
Not built yet
Evaluating single workflow steps, such as a step that scores the work of earlier steps or a workflow that only evaluates, is designed but not built. An evaluation runs the whole workflow. See Every feature.