Skip to main content
All guides
RAG and hallucinations

How to Reduce Chatbot Hallucinations with Evaluation

Find hallucination patterns, improve evidence and abstention, and prevent known failures from returning.

9 min readUpdated September 2, 2026

Short answer

Define hallucination as a specific unsupported or contradicted claim, capture the evidence available to the chatbot, and label failures by intent and cause. Improve retrieval, answer scope, or abstention at the owning layer, then add each confirmed pattern to regression and production monitoring.

Key takeaways

  • Use a precise claim-level definition instead of a vague hallucination score.
  • Fix missing evidence differently from ignored evidence.
  • Test abstention and uncertainty as first-class behavior.

Signs this is the problem

Start by confirming the symptom before changing prompts, models, or infrastructure.

  • The chatbot invents prices, policies, dates, or capabilities.
  • Answers remain confident when retrieval is empty or contradictory.
  • Teams patch single prompts without tracking recurring failure topics.

Step-by-step approach

  1. 1

    Build a failure taxonomy

    Separate unsupported claims, contradictions, stale facts, wrong entities, fabricated citations, and excessive certainty.

  2. 2

    Capture available evidence

    Store the prompt, context, retrieved sources, versions, tools, and output for each evaluated answer.

  3. 3

    Fix by cause

    Improve source data, retrieval, context assembly, instructions, tool use, or abstention based on the first broken stage.

  4. 4

    Create a closed loop

    Replay confirmed failures before release and monitor the same categories in sampled production traffic.

What to measure

MetricWhat it measuresHow to use it
Unsupported-claim rateMaterial claims not established by the available evidence.Track by intent and severity rather than one global number.
Safe-abstention accuracyCases where the chatbot correctly declines or qualifies an answer when evidence is insufficient.Balance this against needless refusals on answerable queries.
Failure-topic recurrenceRepeat occurrences of a confirmed hallucination pattern.Use recurrence to test whether coverage and deployment matched the fix.

Common mistakes

  • Asking a judge whether an answer 'feels hallucinated.'
  • Adding stronger confidence language to hide uncertainty.
  • Evaluating correctness without the versioned evidence context.

Practical checklist

  • Build a failure taxonomy: Separate unsupported claims, contradictions, stale facts, wrong entities, fabricated citations, and excessive certainty.
  • Capture available evidence: Store the prompt, context, retrieved sources, versions, tools, and output for each evaluated answer.
  • Fix by cause: Improve source data, retrieval, context assembly, instructions, tool use, or abstention based on the first broken stage.
  • Create a closed loop: Replay confirmed failures before release and monitor the same categories in sampled production traffic.

Frequently asked questions

What should I do first?

Separate unsupported claims, contradictions, stale facts, wrong entities, fabricated citations, and excessive certainty

How should the result be measured?

Material claims not established by the available evidence. Track by intent and severity rather than one global number.

When is the change ready to ship?

Ship only after the protected cases pass, the primary metric clears its agreed boundary, and the team reviews the remaining failure modes instead of relying on one aggregate score.

Keep going