Eval Criteria Editor Demo | AI SDK Agents
Criteria
Empty
Issues
Read only
Criteria
Pass mark
%
Grounded in the policy
Is every claim in the answer supported by the billing policy in the context?
Yes or no
Done
How much of the expected answer does the output cover?
Yes or no
Scale
Choice
4
3
2
1
0
Passes from here up
The top 2 of 5 levels pass.
Level
ID
complete
Preview
Duplicate
Remove
Tone
Which best describes how the answer sounds?
3 choices
Add a criterion
experimental_evaluate({ questions: { "grounded": { "instructions": "Is every claim in the answer supported by the billing policy in the context?", "type": "boolean" }, "complete": { "criteria": [ "Does not answer", "Mostly off the point", "Misses something the customer needs", "Misses a minor detail", "Covers everything in the expected answer" ], "instructions": "How much of the expected answer does the output cover?", "type": "score" }, "tone": { "cr… })