AI Evals

AI evals are structured tests that score an AI system on a set of cases. In support, they show whether an AI agent answers correctly.

What are AI evals?

AI evals are structured tests that measure how well an AI system performs a defined task. Each eval runs the system on a set of inputs and scores the outputs against expected results or a rubric. In customer support, AI evals show whether an AI agent answers correctly before customers see it.

AI evals replace opinion with evidence. A support leader no longer judges an AI agent from a few sample chats in a sales call.

How AI evals work

AI evals work by running the same set of test cases through the AI agent and grading every output in the same way. An eval has four parts.

  • Test cases: real customer questions, each with the expected outcome. The outcome can be an answer, an action or a handoff.
  • A run: the AI agent processes every case with a fixed configuration.
  • Graders: the method that marks each output as pass or fail.
  • A score: the result, compared with earlier runs.

There are three common graders. A code check looks for something exact, such as the right order status. A human reviewer reads the answer against a rubric. A second model grades the answer against written criteria, with humans checking a sample of its grades.

The basic formula in words: pass rate equals the number of cases passed divided by the total number of cases.

Example: an eval set holds 200 past conversations. The AI agent passes 170 of them. The pass rate is 170 divided by 200, which is 85%. After a change to the instructions, the agent passes 180, which is 90%. The team also checks which cases passed before and now fail.

Why AI evals matter in customer support

AI evals matter in customer support because every change to an AI agent can break something that worked. Without AI evals, the team learns about the break from customers.

  • Quality: an edited refund article can change the answer to a refund status question. An eval run shows this before release.
  • Speed: teams release changes faster when a test run replaces days of manual checking.
  • Cost: comparing two configurations on the same cases shows whether a cheaper setup keeps the same quality.
  • Risk: safety cases check that the agent refuses an out-of-policy refund and resists prompt injection.

AI evals also help with vendor selection. Running your own password reset, invoice copy and plan change tickets through each candidate gives a fair comparison.

AI evals catch more than wrong facts. They can check for an AI hallucination, a missed handoff, a wrong tone or an answer in the wrong language.

AI evals vs AI agent testing

AI evals are the scored, repeatable part of AI agent testing, which is the wider activity. AI agent testing covers everything a team checks before and after launch.

  • AI evals: a fixed set of cases, a defined grader and a score that can be compared across versions.
  • AI agent testing: also includes checking integrations, handoff routing and channel behaviour. It includes people chatting freely with the agent to find surprises.

AI evals also differ from production metrics. Resolution rate measures what happened with real customers. AI evals predict what will happen, using known cases with known answers.

How to set up AI evals

Set up AI evals by building a test set from your own tickets and running it before every change.

  1. Collect real cases. Take past conversations for each major ticket type, such as order tracking and refund status.
  2. Write the expected outcome. For each case, state the correct answer, the correct action or the fact that it should go to a person.
  3. Add hard cases. Include angry messages, missing details, out-of-scope questions and attempts to trick the agent.
  4. Choose the graders. Use code checks where the answer is exact. Use reviewers or a grading model where judgement is needed.
  5. Run before each change. Test before editing instructions, adding content or switching models. Compare with the last run.
  6. Grow the set from failures. Each failure found through AI observability becomes a new test case.

Keep the test set private and stable. A set that changes with every run cannot show progress.

Where AI evals fit in an AI support stack

AI evals sit between configuration and release in an AI support stack. They are the check a change must pass before it reaches customers. Aura AI, Customerly's AI customer support agent, is trained on the Help Center, canned responses and uploaded documents. Aura AI resolves 72% of conversations across all Customerly customers. An eval on your own tickets shows what to expect for your content. To run your questions past Aura AI, book a demo.

FAQ

How many test cases does an eval set need?

There is no fixed number of test cases for an eval set. It needs enough cases to cover your main ticket types and your main risks. Start small with the most frequent questions, then add cases as failures appear.

Who should write AI evals in a support team?

Senior agents and support operations should write the cases, because they know the correct answers. Engineers or the vendor can help run them. Policy owners should confirm the expected outcomes for refunds and other sensitive cases.

Can an AI model grade another AI model?

Yes, a model can grade another model's answers against written criteria. This makes large test sets practical. Its grades must be compared with human grades on a sample, because grading models make mistakes too.

Are AI evals a one-time project?

No, AI evals are an ongoing practice. Products, policies and models change, so the test set must change with them. Run it before every change and on a regular schedule.

Do good eval results guarantee good results with customers?

No, good eval results do not guarantee good results with customers. Real customers ask questions the test set does not contain. Evals reduce the risk before launch, and production review covers the rest.

Related Terms

AI Agent Testing

AI agent testing is the practice of checking an AI agent's answers, actions and handoffs against realistic customer scenarios before and after launch.

AI Observability

AI observability is the practice of recording and inspecting each step an AI agent takes in production, so a team can explain any answer.

AI Hallucination

An AI hallucination is a confident answer from an AI model that is false or unsupported by its sources. Learn the causes and how to reduce them.

AI Guardrails

AI guardrails are the rules and checks that limit what an AI agent may say and do. Learn how they work in customer support and how to set them.

Resolution Rate

Resolution rate is the share of customer conversations where the issue is actually solved. For an AI agent, it counts issues solved without a human.

Auto QA

Auto QA is the automated quality assurance scoring of customer support conversations by AI, covering every conversation instead of a small sample.

Some of the businesses that choose Customerly

AI Support That Sets You Apart.
Start Leading Today.

AI Support Software