How do you evaluate LLM output for a business AI feature?

Updated · 5 min read

Why evaluation matters for business AI

Many AI features are judged on a handful of impressive demos. That tells you little. A system can answer the demo questions well and still fail on the questions customers really ask. Worse, a small change to a prompt, a model upgrade or a new batch of documents can break answers that used to be right, and nobody notices until a customer does.

An evaluation, or eval, is a repeatable test. It turns quality from an opinion into a measurement you can compare over time.

Build a test set from real work

Collect questions and tasks from your real channels, such as support logs, sales emails, staff chat and the forms your customers fill in. Ask the people who do the work to write down what a good answer looks like for each one.

  • Include the awkward cases: ambiguous questions, questions with missing information and questions in the languages your customers really use.
  • Include cases the system should refuse or pass to a person, such as a request for a refund outside policy.
  • Keep the set under version control, so you know which cases were added and when.
  • Hold a separate group of cases that you do not use while tuning, so you can check whether improvements generalise.
  • Refresh the set regularly, because customer questions change.

Write a rubric that people can apply the same way

A rubric lists the criteria an answer must meet and defines pass and fail for each one. Vague instructions such as make it good produce scores that depend on the reviewer. Specific criteria produce scores you can compare.

  • Correct: every fact matches the source record or policy.
  • Complete: all parts of the question are addressed.
  • Grounded: each claim is supported by a cited passage.
  • Right action: the system answered, asked a question or escalated, as the case requires.
  • Right language and tone for the customer and the channel.
  • Safe: no personal data leaked, and no promise the business cannot keep.

Automated checks and model-graded scoring

Some criteria can be checked by code. Confirm that the output is valid JSON, that required fields are present, that an order number exists, that the answer is in the expected language and that forbidden phrases are absent. Automated checks are fast, cheap and consistent, so run them on every case.

  • Model-graded scoring uses a second model to judge an answer against your rubric. It scales well, but judges have biases, such as preferring longer answers or answers written in their own style.
  • Calibrate any model judge against a sample of human scores. If the two disagree often, fix the rubric or the judge before trusting the numbers.
  • Never let a model judge the criterion it is least able to see, such as facts absent from the source it was given.

Human review samples in production

Automated scores cannot tell you everything, especially about tone and usefulness. Set a routine where trained reviewers score a fixed sample of live answers each week, using the same rubric. Track how often two reviewers agree. If agreement is low, the rubric is unclear and needs rewriting before you draw conclusions.

Review the answers customers flag, too. Complaints and corrections are some of the most useful eval cases you will get, so add them to the test set.

Run evals on every change

An eval is only useful if it runs when something changes. Rerun the full set after every prompt edit, model change, tool change or re-indexing of documents. Compare each result against the last accepted baseline, and treat a drop in a key criterion as a reason to stop the release, even if the average looks fine.

Check the provider's current model deprecation notices as well. A model you tested may be replaced, and the replacement needs its own eval run before it goes live.

How Hundred Seas helps

Hundred Seas builds AI agents and AI CRM systems on Claude and on OpenAI models. The right answer depends on your business, so we set up the test sets, rubrics and review routine with your own staff, and we choose the model for each task on cost, speed, quality and where your data has to stay. We work in English, Traditional Chinese and Simplified Chinese.

A project starts with a scope step of about one week at a fixed price, ending in a written plan and a firm quote. The build arrives as weekly releases of working software, and the monthly run plan includes rerunning the evals when models or documents change.

Questions

How large should a first test set be?
Start with a few dozen real cases that cover your most common questions and your hardest ones. That is enough to catch obvious regressions and to show where the system fails. Grow the set as you learn which cases matter most, rather than trying to build a perfect set at the start.
Can another AI model grade the answers?
Yes, for many criteria, provided you calibrate it against human scores first. Model judges can drift, favour certain styles and miss facts they were not given. Use them to scale checks, and keep human review for the criteria that matter most.
Do evals replace feedback from real users?
No. Evals catch regressions you can anticipate. User feedback shows what you did not anticipate. Feed complaints, corrections and escalations back into the test set, so each real failure makes the next test stronger.
Who should write the rubric?
The people who know the work should write it, with an AI or engineering partner helping to make the criteria specific and testable. A rubric written only by developers often misses what a customer or a manager actually cares about.
How often should we run the full evaluation?
Run the automated checks on every change, and run the full set with human review before any release that changes the prompt, model or source documents. Sample live answers on a steady schedule, so you notice drift that no single change caused.

Have a project in mind?

Tell us what you want to build. We reply with a plan, not a sales call.

AboutHow do you evaluate LLM output for a business AI feature?