Eval Graders
In this article
- Explain why a clear, polite reply can belong to a run that broke a hard rule, and which grader catches it.
- Choose a grader for a success criterion by asking what directly shows the criterion was met.
- Say whether a grader needs the case's expected answer, and what that means where no answer is stored.
- Tell a verdict on one case from a metric over the whole dataset, and keep a hard failure visible in the metric.
- Terms defined here: grader, deterministic check, model-based grader, ground truth, aggregate metric.
Overview
An eval runs saved conversations through an AI feature. Running them is the easy half. For each conversation, something must then decide whether the feature did the right thing, and that decider can be fooled by a reply that reads well.
In an invented example, Brightline, a home-internet provider, runs a support assistant on its website that answers customers and can look up an order, issue a refund of at most $50 and hand a conversation to a person on the support team. The part of its eval that decides each pass or fail is a grader. Afterwards you can pick a grader for each thing a correct run must do, say which graders need a stored right answer, and tell a verdict on one conversation from a score over hundreds.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- One run that passed the wrong check
- Kinds of grader
- Choosing a grader
- Does the grader need the right answer?
- From verdicts to a metric
- Sources
- Check yourself, 5 questions