If you cannot measure assistant quality, you cannot improve it.
Teams building with large language models often treat evaluation as a research task: someone builds a notebook, runs it before a big release, and shares a chart. That works for a demo. It does not work for a product that changes every week, where a prompt edit, a retrieval tweak, or a provider's model update can quietly make answers worse. Evaluation has to be part of how the product is built and shipped, owned by the same team that owns the feature.
Own the fixtures
The foundation of evaluation is a golden dataset: a set of realistic inputs with a clear idea of what a good response looks like. The single biggest predictor of whether evaluation survives is who owns that dataset.
Engineers can build the harness, but they rarely know what a good answer to a claims adjuster, a tax question, or a support escalation looks like. Domain experts do. Make them the owners of the cases and the rubric, and give them a simple way to add and review cases without touching code.
Build the set from real traffic wherever you can, redacted of personal data. Synthetic cases are useful for coverage of rare scenarios, but a golden set made only of what engineers imagined users would ask will miss what they actually ask. Keep it balanced across:
- the common, high-volume requests that drive most of the value;
- known hard cases and past failures, so regressions stay fixed;
- adversarial and safety cases: prompt injection, requests outside policy, attempts to extract data.
Write rubrics you can defend
"Is this answer good?" is not a rubric. Break quality into dimensions that matter for the product and that two reviewers would score the same way:
- Correctness: is the answer factually supported by the provided sources?
- Completeness: does it address every part of the request?
- Groundedness: does it avoid claims that are not in the retrieved context?
- Policy: does it stay within what the product is allowed to say or do?
- Format: does it follow the required structure, length, and tone?
Score each dimension separately. A single overall score hides the fact that a change improved tone while making answers less accurate.
Calibrate automated grading against humans
Human review of every change does not scale, so most teams use a model to grade outputs against the rubric. That is reasonable, but only if you check the grader. We treat an automated grader like any other measurement instrument: calibrate it before trusting it, and recalibrate when anything changes.
In practice: have domain experts label a sample of outputs, run the grader on the same sample, and measure agreement per rubric dimension. If agreement on a dimension is low, fix the grading prompt or keep that dimension human-reviewed. Re-run the calibration whenever you change the grader's model or prompt, and periodically even when you do not, because the outputs being graded drift too.
An automated grader you have never compared to human judgment is a random number generator with a confident tone.
Version the whole configuration
Quality depends on much more than the model: the system prompt, retrieval settings, tool definitions, and generation parameters all matter. Version them together as one bundle, and attach that version to every evaluation run and every production trace. When a score moves, you can answer "what changed" immediately.
Here is the shape of a suite definition in the kind of harness we typically build for clients (an in-house API, not a specific library):
suite = EvalSuite(
name="support-assistant-core",
dataset="golden/support-assistant@v12",
target=AssistantBundle.load("support-assistant@2026.09.3"),
graders=[
RubricGrader("correctness", model="grader-large", calibration="cal/2026-09"),
RubricGrader("groundedness", model="grader-large", calibration="cal/2026-09"),
RegexGrader("format", pattern=r"^Summary:"),
],
thresholds={"correctness": 0.90, "groundedness": 0.95, "format": 1.0},
max_runtime_minutes=10,
)Run evaluations at two speeds
A single slow evaluation suite gets skipped. Split it:
- A fast core suite that runs on every pull request and finishes within about ten minutes. It covers the highest-value cases and known regressions, and it blocks the merge if a threshold drops.
- A broad suite that runs nightly and before any model or provider change. It includes long-tail and adversarial cases, and it reports trends rather than blocking every change.
Compare against a baseline, not an absolute bar alone. "Correctness fell three points against the current production version" is a far more useful signal than "correctness is 0.91."
Close the loop with production
Offline evaluation tells you whether a change is safe to ship. Online signals tell you whether the product is working. Useful ones include users editing or regenerating answers, escalations to a human, explicit feedback, and task completion downstream of the assistant.
Log enough to learn from, and no more than you can protect. Record the bundle version, retrieved sources, and outputs, with personal data redacted before it leaves the service. Then route interesting production cases, especially failures, back into the golden set with expert review. That feedback loop is what makes the evaluation suite better over time instead of stale.
Where to start
- Pick one assistant and assemble a golden set of fifty to one hundred real cases with a domain expert.
- Write a rubric with three to five dimensions and label a sample by hand.
- Build the harness, calibrate an automated grader against those labels, and run it in report-only mode.
- Version the assistant configuration as one bundle and attach it to traces.
- Turn on a merge gate for the fast suite once the team trusts the scores, and schedule the broad suite nightly.
Evaluation is not a phase before launch. It is the product team's instrument panel, and it should be treated with the same care as the feature it measures.