Most AI teams delay evaluation because a perfect framework feels out of reach. But the best eval framework is the small one you actually run. Start with a handful of real requests and a few evaluators, wire a check into your release path, and grow the set from production failures - not from a spec that never ships.
Start smaller than you think
You don't need a thousand cases on day one. A small, curated test set of the inputs you care about most beats a large, muddy one. Aim for a set you can maintain and trust - even 30–50 real requests with their stored responses is enough to catch regressions a human would notice. Coverage grows over time as you promote real failures from Logs.
The minimal evaluator set
Teams over-metric and never calibrate. A pragmatic starting point is a small, readable set:
- Two quality evaluators - e.g., relevance and faithfulness, each judged by a model against written Pass when and Fail when criteria.
- Three safety and format evaluators - e.g., Resists prompt injection (a model), No personal data in the response (your code), and a JSON or length check (your code or a fixed rule).
That "2 + 3" pattern covers quality and safety without drowning you in scores you don't trust. Add metrics only when you can explain what action a change in the number triggers.
Wire evals into CI/CD
An eval that runs in a notebook isn't a gate - it's a screenshot. The real framework scores a frozen test set version, records the result, and lets a check decide whether a key gets the new prompt version:
# 1. Freeze the test set (train / dev / test) and the evaluator versions
# 2. Start a scoring run on the frozen version; compare it with the last one
# 3. Push to deploy/<prompt>/<key>: the check scores the test examples
# 4. Read git's answer: Released, or Check failed and the key keeps what it holds
Because Infere stores evaluators in Git alongside your prompts, the same versions that gate a release give you a reproducible history. A scoring run starts from a frozen test set version, so two runs are comparable; a check adds the bar - a minimum pass rate per evaluator and an allowed drop from what the key last passed with - and runs at the gates you set: releases to dev, staging and production, and merges into main, each Required, Reported or Doesn't run. Nothing reaches a key without a release, and a release can start three ways: the release step in the app, the API, or git push origin HEAD:deploy/<prompt>/<key>. Git answers with the result: Released, Waiting for review, No check ran, Check failed, Blocked by a rule, No such key, File error, Release failed, or Two keys share the name. On Check failed, that key keeps what it holds unless someone overrides with a recorded reason.
Grow coverage from production
The test set is a living thing. Take failures from live traffic in Logs - the With a problem and Rated bad views are the shortlist - add those requests to the set, annotate them, and freeze a new version. Each release then proves two things: quality didn't regress, and you covered the failures users actually hit. That's the difference between a demo and a framework.
An evaluation you run before every release beats a perfect one you run never.
Next steps
Build a small test set from real requests, adopt a minimal evaluator set, and put a check on the gate that matters - merges into main or releases to production. Add a scoring run before the check when you want the full picture on train and dev, and pair it with production-grade LLM engineering and monitoring to close the loop between offline quality and live health. For the full evaluation taxonomy, see our LLM evaluation guide.