A production chatbot should be measured as a system, not judged by a few impressive conversations. This practical scorecard shows how to evaluate answer accuracy, task completion, escalation, hallucinations, latency, cost, and user satisfaction with repeatable test cases and formulas you can reuse after every release.
Overview
Chatbot evaluation metrics help you answer a practical question: is the bot reliably helping users within acceptable safety, speed, and operating limits? A useful evaluation combines offline testing before launch with live monitoring after release.
No single metric describes chatbot quality. A bot may produce accurate answers but fail to complete account or booking tasks. It may resolve routine requests while giving unsafe answers in edge cases. It may perform well in a test environment but become slow or expensive when conversation volume increases.
For a balanced view, group your scorecard into six areas:
- Accuracy: Does the response match the approved answer or source material?
- Task completion: Did the user reach the intended outcome?
- Safety and reliability: Did the bot avoid hallucinations, unauthorized actions, and poor handoffs?
- Escalation quality: Did it recognize when a human or another workflow was needed?
- Experience: Was the response clear, relevant, and fast enough?
- Efficiency: What did the interaction consume in model, tool, and human-support resources?
Use the same test set, definitions, and reporting period when comparing versions. Otherwise, a score can appear to improve simply because the questions or traffic mix changed.
How to estimate
Start with a representative evaluation set rather than a random collection of prompts. Include common requests, high-value workflows, ambiguous questions, known failure cases, out-of-scope requests, and adversarial or safety-sensitive inputs. For a customer support chatbot, examples might cover order status, returns, account access, policy questions, and requests that require escalation.
Record one row for each test case with these fields:
- Test case ID and user intent
- Input message and relevant conversation history
- Expected answer, action, or escalation
- Retrieved documents or tool calls, if applicable
- Actual response and system outcome
- Pass, partial pass, or fail
- Failure category and reviewer notes
Then calculate the core metrics:
- Answer accuracy = fully correct answers ÷ answerable test cases × 100
- Task completion rate = successfully completed tasks ÷ eligible task attempts × 100
- Hallucination rate = responses containing unsupported material ÷ evaluated responses × 100
- Escalation rate = conversations transferred to a human or fallback path ÷ total conversations × 100
- Containment rate = eligible conversations resolved without human support ÷ eligible conversations × 100
- Tool success rate = successful tool operations ÷ attempted tool operations × 100
- Average latency = total response time ÷ measured responses
- Cost per conversation = total model, retrieval, tool, and support cost ÷ conversations
Define the denominator carefully. If the bot is not designed to answer billing questions, those conversations should not be included in an answer-accuracy calculation for its product-support scope. They should, however, be tracked for routing and escalation performance.
For a more useful quality score, report separate gates instead of hiding weaknesses in one weighted average. For example, a release might require no critical safety failures, a minimum task-completion rate, an acceptable hallucination rate, and a latency ceiling. The exact thresholds should be set by the risk and economics of the use case, not copied from another chatbot.
Inputs and assumptions
Your scorecard is only as reliable as its definitions. Document the following inputs before testing.
Scope and user intents
List the intents the chatbot is expected to handle and mark each as informational, transactional, or escalation-required. This prevents a correct refusal from being counted as a failure and prevents an unsafe action from being counted as success.
Reference answers and evidence
For a RAG chatbot, specify which sources are authoritative and whether citations are required. Evaluate both the answer and the evidence behind it: a fluent response based on the wrong document is still a quality failure. The RAG knowledge base chatbot guide provides a useful implementation context for ingestion, chunking, and citations.
Reviewer rules
Use a small rubric with consistent labels: pass, partial pass, fail, and critical fail. A partial pass might answer the question correctly but omit a required condition. A critical fail could include an invented policy, an unauthorized tool action, exposure of private information, or a failure to escalate a high-risk request.
Business and operational inputs
Track conversation volume, human-handling time, model usage, retrieval usage, tool calls, and average turn count. If pricing or infrastructure costs vary by provider or deployment, enter the current figures from your own environment rather than relying on a generic estimate. Keep these inputs separate from quality scores so a cheaper system is not mistaken for a better one.
Experience measures
Monitor user feedback, repeat questions, abandonment, and post-chat satisfaction where available. A thumbs-up rate can be useful, but it is not a substitute for reviewing failures: users may leave positive feedback after receiving a polite but incomplete answer.
Worked examples
Assume a test set contains 100 answerable questions. Reviewers mark 86 as fully correct, 8 as partially correct, and 6 as incorrect. The strict answer-accuracy rate is therefore 86%. If your team decides that partial answers count as half credit, the graded score is 90%, but both figures should be reported so the result is not overstated.
Now consider 40 transactional attempts. The chatbot completes 30 without an error, sends 6 to a human with the required context, and fails on 4. Task completion is 30 ÷ 40 = 75%. If the six transfers are considered successful assisted resolutions, the broader resolution rate is 36 ÷ 40 = 90%. Keeping these measures separate shows whether the bot is completing work itself or routing it effectively.
For hallucination testing, reviewers identify unsupported claims in 5 of 120 responses. The observed hallucination rate is 5 ÷ 120 = 4.17%. Review the five cases individually: an incorrect product detail and an invented refund rule may require different fixes even though they share the same metric.
For operating cost, suppose a reporting period includes 2,000 conversations and the measured total of model, retrieval, tool, and human-review costs is an illustrative $300. Cost per conversation is $300 ÷ 2,000 = $0.15. Recalculate this figure with your actual rates and include the same cost categories each time. If a new prompt increases token use while reducing escalations, compare both cost per conversation and resolution outcomes before deciding whether the change is worthwhile.
For production monitoring, create a dashboard that shows the current period, the previous comparable period, and the release version. Break results down by intent, language, channel, model, and escalation path when sample sizes allow. A blended score can hide a serious failure affecting only one workflow or language. For multilingual deployments, pair evaluation with language detection and translation checks as described in the multilingual chatbot guide. For voice systems, add turn-taking, transcript accuracy, and end-to-end latency from the voice chatbot checklist.
When to recalculate
Run the full scorecard before launch, after every material change, and on a regular production cadence appropriate to your traffic and risk. Recalculate after changing the model, system prompt, retrieval index, chunking method, knowledge base, tool schema, guardrails, language support, or escalation workflow. A platform migration also warrants a baseline comparison; the platform migration checklist can help identify changes outside the model itself.
Update cost calculations whenever provider pricing, token usage, hosting, retrieval, or human-review assumptions change. Refresh benchmark comparisons when the model or platform capabilities change, but preserve older results so you can see whether quality actually improved.
Use this release routine:
- Freeze the test set and record the version under evaluation.
- Run automated checks for routing, tool schemas, citations, latency, and prohibited outputs.
- Have reviewers score a representative sample using the same rubric.
- Compare accuracy, completion, escalation, hallucination, latency, cost, and satisfaction with the prior version.
- Investigate every critical failure and any meaningful regression by intent.
- Record the decision, known limitations, and next test date.
A strong production chatbot is not one that never fails. It is one whose important failure modes are visible, bounded, and improving. Treat the scorecard as a release control and a feedback loop, then revisit it whenever the bot, its knowledge, its traffic, or its economics change.