"We built an LLM support assistant. How would you evaluate it before launch?" An eval is the answer: a repeatable test for an LLM feature made of a short list of what a good output must do, a grader that checks each item, and a set of example inputs to run it on.
The principle: break "is it good?" into separate criteria (correct, grounded, policy-compliant, polite) and check each with the cheapest grader that measures it reliably, code before a model judge and a model judge before a person. Build one before launching a feature whose output users act on, before changing a prompt, model, or retrieval setting, or when users report quality problems you need to track. Skip it for a deterministic output such as a fixed template, where an ordinary unit test is simpler, and for a prototype nobody relies on yet, where reading twenty outputs by hand is enough.
Our running example is HelpDesk Assistant, a support assistant for a software company that answers questions from help-center articles and, in agent mode, can look up accounts and issue refunds. Its policy is simple: annual plans can be refunded within 30 days of purchase, monthly plans not at all, and every reply cites the article it used.
This question opens most AI engineering eval rounds. A mid-level answer names specific criteria and a sensible grader for each. A senior answer also defends each grader by cost and reliability, shows where a popular metric gives a wrong answer a high score, and lays out which checks run on every commit and which run in production. LLM Engineering 101: Evaluating LLM Applications gives the wider overview. This tutorial goes deep on designing the eval itself.