Build an evaluation dataset for AI answers by selecting 50 to 100 real ticket questions, removing sensitive details, and defining what a correct response must contain. Score a frozen baseline, rerun the same questions after a change, and review regressions by question type before deciding whether to release it.
Define the decision your evaluation dataset for AI answers supports
Start with the decision the test should support: whether a proposed change makes a support assistant safer and more helpful within a defined scope. Write down the assistant’s audience, accessible knowledge, allowed actions, and escalation boundaries. An answer suitable for an internal analyst may expose information that a customer should not receive.
Choose one workflow for the first set, such as answering employee questions about access requests. Mixing unrelated workflows makes failures harder to interpret. Select additional workflows after the first scoring method is stable.
Name a test owner and a subject expert who can resolve disputed answers. Record the proposed release rule before seeing results. For example, require no newly introduced disclosure failures, review declines in correct next steps, and reject changes that replace a required escalation with unsupported advice. These are proposed acceptance rules, not measured outcomes.
Select 50 to 100 questions from real tickets
Choose a defined ticket window and record its boundaries. Read the initial request, later clarification, and resolution separately. The final resolution can help establish the expected answer, but the assistant should receive just the information available at the point being tested. Otherwise the test quietly supplies the answer.
Begin with a proposed 60-question mix: 30 routine requests, 12 ambiguous requests, 10 requests outside the assistant’s knowledge or authority, and eight cases with consequential failure risks. Adjust these counts to your workflow. They are a starting allocation, not a claim about your ticket distribution.
- Select routine questions across several intents, rather than collecting slight variations of the largest category.
- Include missing details that should trigger clarification, such as an unspecified application or account type.
- Include unanswerable questions where the expected behavior is to acknowledge a gap and provide an escalation path.
- Include risky requests involving restricted information, unsupported commitments, or instructions embedded in retrieved text.
Group duplicates before sampling. Several tickets from the same outage can look like independent evidence while testing essentially the same answer. Keep related variants in one family and label them. Preserve representative user wording, including shorthand and incomplete sentences, rather than rewriting the set into polished questions.
Describe coverage separately from frequency. A deliberately difficult test set helps expose weaknesses, but its overall score should not be presented as the expected success rate across live traffic. Keep that distinction visible in the evaluation report.
Turn tickets into reviewable test records
Give each question a stable identifier. Store its intent, risk label, input text, allowed context, expected behavior, and reference material version. Keep an access-controlled provenance record so an authorized reviewer can trace a case back to its origin without placing ticket identifiers in routine reports.
Remove names, contact details, credentials, customer identifiers, and unnecessary narrative details. Replace entities consistently: if the question mentions an application and the answer depends on it, use the same substitute throughout. Review whether a distinctive combination of details could still identify someone. Limit original evidence to authorized reviewers, and assign the data owner to approve its reuse.
Write required facts and prohibited claims instead of demanding an exact sentence match. For an access question, required facts might include the approved request route and prerequisite approval. Prohibited claims might include promising immediate access or suggesting that approval can be bypassed. A differently worded response can still meet the requirements.
Record alternative acceptable responses. An assistant may answer directly when the supplied context is sufficient, or ask a targeted question when a necessary detail is absent. Specify which condition applies so reviewers do not reward a confident guess over an appropriate clarification.
Score answers against observable criteria
Use a short rubric that reviewers can apply without guessing the author’s intent. Separate correctness from presentation. A clear answer containing the wrong process should fail the correctness check even if it sounds reassuring.
- Correctness: Does the response contain the required facts without contradicting the approved reference?
- Support: Can reviewers trace substantive claims to the context the assistant was allowed to use?
- Next step: Does the answer give a feasible action, targeted clarification, or appropriate escalation?
- Boundary handling: Does it respect the defined information and action limits?
For each dimension, use pass, partial, or fail with a short reason. Define partial narrowly; for example, the answer names the correct request route but omits a prerequisite. Add a separate critical-failure flag for issues that should block release under your agreed rules. Keep those flags visible instead of averaging them into a favorable total.
Have two reviewers score a shared calibration sample independently. Compare disagreements, clarify the rubric, and rescore affected cases before expanding the review. If the reference itself is ambiguous, resolve or quarantine the case rather than forcing a judgment. Keep a change log for rubric edits.
A concrete handover should include the labeled question set, scoring rules, baseline results, and ownership for unresolved cases. For help planning this work, see AI and ML services.
Freeze the baseline and compare one change
Capture the baseline configuration before generating answers: model identifier, prompt version, retrieval configuration, reference snapshot, and relevant generation settings. Save the complete outputs with run identifiers. If the assistant uses conversation history, preserve the same history for the comparison.
Change one component where feasible. A new prompt combined with a different knowledge collection may improve results, but the combined comparison cannot isolate which change caused a regression. Record unavoidable differences so the report does not imply a cleaner experiment than you ran.
Run the candidate against the same frozen questions and context conditions. Where outputs vary, choose a repeat count in advance and use it for both versions. Retain variation in the record; selecting the strongest answer from several attempts creates a misleading comparison.
Review answer pairs with version labels hidden where feasible. Report improved, unchanged, and regressed cases, then break them down by intent and risk. Distinguish failures caused by missing retrieved evidence from failures where the evidence was present but the answer ignored it. That distinction helps decide whether to revise retrieval, the prompt, or the underlying guidance.
A higher rubric score does not by itself establish fewer repeat contacts or better resolution outcomes. Track those operational results separately after a controlled release.
Maintain a stable core and a changing challenge set
Hold the stable set unchanged across successive versions so scores stay comparable. Do not add cases to it while tuning; new failures go to the challenge set described below. Develop fixes on a working portion and reserve a held-back portion for release review. Restrict access to held-back answers so repeated tuning does not turn the release check into another development exercise.
Add newly observed failures to a challenge set with their discovery dates and reasons for inclusion. Before promoting a case into the stable set, check that it adds a distinct behavior or risk. Retire obsolete cases through a recorded version change, preserving previous results for historical comparisons.
Give each unresolved case a named owner and a due date before the review closes. The release report then lists which regressions were fixed, which were accepted with a stated reason, and which blocked release under the rules recorded before the run. Record the scorer version and run identifiers so a reviewer who was not in the meeting can rerun the comparison.
Questions about running a small answer evaluation
Can an AI system score the answers?
It can assist with preliminary scoring, but compare its judgments with human reviews before relying on them. Keep the scoring instructions and scorer version in the run record. Send disputed judgments and critical-failure cases to the designated human reviewer.
How should multilingual tickets be handled?
Use reviewers who understand the language and relevant support terminology. Retain the original question alongside any translation used during review. Score whether the answer works for the intended reader; an accurate translation alone does not establish that.
What if ticket resolution notes contradict the current process?
Ask the process owner to establish the valid reference before scoring. Mark the case as unresolved until that decision is recorded. A historical resolution may describe an exception or an outdated procedure and should not silently become the expected answer.
Can a vendor receive the evaluation set?
Decide this through the data owner’s approved sharing process. Prepare a minimized copy and document permitted use, access, retention, and deletion expectations. Keep the protected provenance record separate from the material supplied for the evaluation.
What if the team cannot label 50 questions yet?
Start with a smaller calibration batch and use it to resolve unclear scoring rules. Track the missing categories before expanding. Treat the early results as development feedback, with release review deferred until the agreed coverage and labeling checks are complete.