Manual spot checks do not scale and miss regressions. Build a small evaluation set.
Collect real examples: 50 to 200 questions or tasks from actual users, including hard and odd ones, with a description of what a good answer looks like (or a reference answer).
Define criteria: correctness, completeness, use of sources, tone, refusing when it should, and no invented facts.
Score it. Use exact or rule-based checks where possible (valid JSON, the right number extracted). For open text, use human reviewers with a simple rubric, and optionally another model as a judge, checked against human ratings.
Track metrics: pass rate, hallucination rate, latency and cost.
Re-run after every change to the prompt, model, retrieval or data, to see if things improved or broke.
Monitor in production: collect thumbs up and down, review a sample of real conversations and add new failures to the set.
Test safety cases too, such as attempts to extract confidential data or to make the model ignore its instructions.
Markdown for AI
A clean, structured version of this page for AI assistants and LLMs.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Manual spot checks do not scale and miss regressions. Build a small evaluation set.
Test safety cases too, such as attempts to extract confidential data or to make the model ignore its instructions.