Last verified 2026-08-15 by executing the recipe end to end.
The recipe
main.sh
How it works
- Create evaluation defines the
criterion. A
booleanevaluation needsprompt,truePrompt,falsePrompt, andenabled: the two branch prompts tell the judging model what each verdict means. - An evaluation can only score a finished conversation. Sending an
endaction closes it; deleting the conversation state does not, because the state and the transcript are different things. - Run evaluation returns the score synchronously, in the run response itself. There is nothing to poll for.
- The result carries
reasonalongsidevalue, so a score always comes with the justification behind it. That is what makes a failing score actionable. - Scores are also written onto the transcript, next to whichever default evaluations the project runs automatically. See the Insights section.