AI hallucination testing for answers that sound right and aren’t.
Compare outputs to source data, catch fabricated citations and confident wrong answers, and measure the rate by prompt category.
What is AI hallucination testing?
AI hallucination testing checks whether an AI system produces claims that are false, fabricated, or unsupported by the source it was given. The output can be fluent, confident, and completely wrong. A general “does it look good” review will miss it.
We build test sets with known ground truth, compare outputs against the source, and categorise failures: invented facts, fabricated citations, wrong numbers, stale policy, and unsupported recommendations. The result is a rate by category, not a single trust score.
We do not guarantee zero hallucinations. A model can always produce an unsupported answer. The value is in finding the patterns, measuring them, and reducing the ones that reach users.
Six areas of hallucination coverage.
Different hallucinations need different evidence.
Ground-truth sets
Questions and answers with a source of truth that can be checked.
- Known facts and policies
- Expected answers
- Source citations
Fabricated facts
Invented claims, numbers, dates, names, and URLs.
- Unsupported assertions
- Wrong figures
- Invented entities
Citation accuracy
Whether a cited source exists and actually supports the answer.
- Real source check
- Quote and page match
- Citation-to-claim support
Confidence calibration
Whether the system signals uncertainty when the answer is not in the source.
- Abstention behaviour
- Hedging versus false certainty
- Missing-context handling
Category rates
Where hallucinations cluster and which user journeys are most exposed.
- By prompt category
- By document type
- By model or prompt version
Regression and retest
Whether a fix reduced the rate without creating a new failure.
- Baseline versus fix
- New failure checks
- Retest evidence
Four steps from source truth to measured rate.
The source of truth comes first; the score comes after.
A measured failure pattern, not a trust badge.
Each finding includes the prompt, the source, the output, and the category.
Ground-truth set
Prompts, sources, and expected answers.
Failure taxonomy
Invented fact, bad citation, stale answer, and related categories.
Rate by category
Where the failures cluster.
Evidence examples
Transcripts and source comparisons.
Fix guidance
Prompt, retrieval, or product changes to test next.
Retest
A second run on the corrected build.
When hallucination testing is the priority.
It matters most when a wrong answer creates cost, risk, or lost trust.
RAG assistant
The product answers from a document set and must not invent policy.
Customer-facing chatbot
A wrong answer can become a support ticket or a refund.
Internal knowledge tool
Staff rely on the answer to make an operational decision.
What changes the hallucination quote.
Scope follows the source corpus, test-set size, and scoring depth.
Every engagement starts with a QA Audit or a free preliminary assessment. No monetary prices are published here.
Hallucination testing is not a zero-risk guarantee.
Included by default
- Ground-truth test sets
- Fact, citation, and number checks
- Confidence and missing-context behaviour
- Rates by category
- Fix guidance and retest
Not included
- A guarantee that hallucinations will never occur
- A general model benchmark
- Training or fine-tuning the model
- Legal or compliance advice
- Unlimited model calls or data ingestion
Internal evidence, not a client claim
Our hallucination rubric is exercised on deterministic fixtures, including a grounded answer, an invented price, a fabricated citation, and a missing-context case. The harness classified all 10 fixtures as expected; no client documents or live model results are claimed.
Frequently asked
What is AI hallucination testing?
It checks whether an AI system produces false, fabricated, or unsupported claims. We compare outputs to source data, categorise failures, and measure the rate by prompt category.
How is it different from LLM evaluation?
LLM evaluation is the broader measurement discipline. Hallucination testing focuses on truthfulness and grounding, with test sets built around known facts and sources.
Can you test a RAG app?
Yes. We check whether the right source is retrieved, whether the answer is supported by it, and whether the system abstains when the source does not contain the answer.
Do you need access to our documents?
Yes, or a representative redacted set. Without source material, we can only review outputs in the abstract and cannot measure groundedness.
Can you guarantee zero hallucinations?
No. We can find patterns and reduce known failures, but no test can guarantee that a model will never produce an unsupported answer.
Find the answers that are confidently wrong.
Book a QA audit or ask for a free preliminary assessment.