Checking AI Answers Claim by Claim Against Your Own Sources
A simple method to catch hallucinations: split an AI answer into claims, find the source passage for each, and spot unsupported or contradicted ones.

An AI answer rarely fails all at once. More often, four sentences are right and the fifth has a wrong number, a wrong name or a confident detail that appears nowhere in the documents it was given. Reading the answer as a whole, that sentence slips by, because the rest sounds so good. Checking claim by claim is slower to describe but quicker to do, and it is how researchers measure factual accuracy too.
Why claims, not answers
Studies of model factuality, such as FActScore, break a long answer into atomic claims and check each one against a trusted source. The share of supported claims is a far more useful number than a single right-or-wrong judgement for the whole answer, and it points straight at the sentence that needs fixing.
The same idea works for everyday review. If your assistant answers from a knowledge base, the knowledge base is the trusted source, and every factual claim should be traceable to a passage in it.
Step one: find the claims
Not every sentence is a claim. Greetings and filler such as Sure or Here is a summary are not, and neither are opinions or advice like I think or you should. Questions are not claims either. What remains are statements that can be true or false: dates, numbers, names, causes and properties.
The Hallucination Claim Extractor and Source Mapper splits an answer at sentence ends and at clause joins, removes list markers, and labels each piece as a fact, a number claim, a hedged claim, an opinion or filler. Only facts, numbers and hedged claims are checked.
Step two: find the best passage
Paste the sources the answer should rely on, with one source per block. The tool cuts them into one- and two-sentence passages and, for every claim, finds the passage that shares the most meaning. By default it compares content words, after dropping common words and simple endings. That is fast and transparent but misses paraphrases, so you can load a small sentence-embedding model, about 23 MB, which blends meaning similarity into the match. The model runs in your browser and only after you ask for it.
Step three: compare
A close match with the same numbers is marked supported. Partial overlap is marked partly supported, and nothing close is unsupported. The interesting label is contradicted: the passage is clearly about the same thing, but the numbers differ, one side is negated and the other is not, or the direction flips, such as rise against fall or before against after. A claim of 7 million visitors against a source that says around 6 million is the classic case.
Every label comes with its reason and the passage it matched, so you can confirm it in seconds or correct it with one tap.
Reading the result
Start with contradicted claims; they are the most likely real errors. Then read unsupported claims and decide whether each is a hallucination or simply something your sources do not cover. Partly supported claims often hide a small added detail, such as an invented date or a wrong unit.
Export the check sheet as CSV when you need a record: each row holds the claim, both labels, the passage and the reasons. For a retrieval system under test, the share of supported claims across many answers is a good first metric to track.
Know the limits
Word and embedding similarity cannot judge whether the source is correct, cannot chain reasoning across passages, and can miss contradictions written without numbers or negation. A claim can be true and still unsupported by your sources. Use the tool to make human review faster and more focused, not to replace it.



