Services

Resources

Company

/

LLM evaluation

LLM evaluation (evals)

LLM evaluation, often called evals, is the practice of scoring the outputs of a large language model (LLM) application for quality. A score can come from a person, from code or from another model acting as a judge. Teams compare scores across prompt versions and models to decide whether a change made the answers better or worse.

How it works

  1. Collect real questions from logs or support tickets, and write down the right answer where you know it.

  2. Run each version of the application over the dataset.

  3. Score each output with an evaluator: an exact-match or schema check in code, a rubric scored by LLM-as-a-judge, or human review.

  4. Compare the scores before you ship.

If prompt version 1 passes 184 of 200 cases (92%) and version 2 passes 170 (85%), version 2 is a regression even when latency and error rates look the same.

Why it matters in production

A request can succeed quickly and still carry a wrong answer. After a model swap or a prompt edit, answers can come back empty while latency and error rates look normal. Evals put answer quality into a number you can gate releases on, and AI observability tracks it in production.

See also

On the One2N blog

Further reading

Bar chart of an LLM evaluation. A strip at the top shows the loop: 200 test cases go through the app, an evaluator scores each answer, and the result is pass or fail. Prompt v1 passes 184 of 200, or 92%, in green. Prompt v2 passes 170 of 200, or 85%, in red. Beside the chart, latency and error rate bars for v1 and v2 look the same, so only the eval shows that v2 is a regression.

Putting this into practice?

Talk to One2N about our AI engineering services

Talk to One2N about our AI engineering services