Why does AI give wrong answers from your documents?
Many assistants that answer from your files retrieve a few passages first and then write an answer from them. If the retrieval step returns an old, vague, conflicting or irrelevant passage, the model writes a confident answer from weak evidence.
This design is called retrieval-augmented generation (RAG). Google Cloud describes it as combining information retrieval with a large language model, and says the crux is ensuring the most relevant facts reach the model (Google Cloud, RAG explainer, checked 2026). The search step usually works on meaning rather than exact words: OpenAI's retrieval documentation describes semantic search that surfaces results with few or no shared keywords (OpenAI, Retrieval API documentation, checked 2026). That is useful, and it is also why a superseded policy that uses the same language as the current one can be retrieved instead of it.
So a weak answer has two possible origins: the model handled good sources badly, or the sources it was given were the problem. Often it is the second, so check the sources first.
This article is about diagnosis: working out why answers are weak. Fixing the documents is a separate job, covered in how to get your documents ready for AI retrieval.
Is a weak answer a hallucination or a source problem?
Sometimes it is a hallucination, but often it is not. A hallucination is content the sources do not contain. A source problem is an answer that faithfully reflects the wrong, outdated or unclear source.
NIST's Generative AI Profile uses the term "confabulation" for confidently stated but erroneous or false content, known colloquially as hallucinations, and notes that systems can also produce confabulated citations that make a wrong answer look justified (NIST AI 600-1, 2024). Retrieval reduces this risk by giving the model material to work from. It does not remove it, and it adds a new one: the model can be faithful to a bad source.
The two need different fixes:
| What you see | Likely cause | Where the fix sits |
|---|---|---|
| A detail that appears in no source | Confabulation | Grounding rules, citation checks, answer testing |
| A citation to a source that does not say that | Confabulated or misattached citation | Citation checks, answer testing |
| A correct summary of an outdated document | Old version in the active pool | Source status and version control |
| Two rules blended into one answer | Conflicting sources, no hierarchy | Source governance |
| A vague answer to a clear question | Vague source wording | Rewriting the source |
| A partial answer that misses the exception | Answer buried in a long document | Document structure |
| The right content for the wrong audience | Internal and public material mixed | Access and audience labels |
| An answer where it should have escalated | No escalation rule | Assistant instructions and review rules |
What source problems cause weak AI answers?
Six source problems come up again and again in evidence-heavy work. Each produces a recognisable symptom.
The wrong document is retrieved
Several documents use similar language for different purposes. A question about "reporting deadlines" might match a funder's current reporting schedule, last year's schedule, an internal planning note and a meeting transcript where deadlines were discussed. Without labels saying what each document is, who it is for and whether it is current, the system has no reliable way to choose.
The right document is there, but the answer is buried
A reviewer can read a 60-page evaluation and connect the finding on page 12 with the caveat on page 47. A retrieval system may pull only a few passages. If the rule is in one section and the exception in another, the answer misses the exception. A document can be accurate and still perform badly as AI source material.
Old versions compete with current ones
When the 2023 and 2025 versions of an M&E framework sit in the same pool, the older one may be retrieved because it is longer or more detailed. The answer reads well and is wrong, and nothing in it tells the user which version it used.
Documents conflict
One document defines an indicator as households reached; another defines it as individuals reached. With no rule for which source takes precedence, the assistant may blend the two definitions or pick one at random. No prompt can tell it which is right.
The source wording is vague
If the source says "partners report regularly unless circumstances require otherwise", the assistant will say something equally vague. A source that states the frequency, the conditions, the exceptions and who approves them gives the assistant something exact to retrieve.
Material for different audiences is mixed
Internal review notes, draft findings and published reports often sit in one folder. The assistant may quote an internal comment as if it were a finding, or give a public user detail meant for the project team.
How do you diagnose a weak AI answer?
Trace the answer backwards: from the answer, to the passages the system retrieved, to the documents they came from, to the status of those documents. Many assistants can show the files or passages they used; if yours cannot, ask whoever set it up how to see them.
- Collect 20 real questions your team asks, with the answer a reviewer would expect and the source that holds it.
- Run each question and record the answer and the sources retrieved.
- For each weak answer, check whether the right source exists in the knowledge base at all.
- If it exists, check whether it was retrieved. If not, the problem is retrieval: naming, metadata, structure or a competing document.
- If it was retrieved, check whether it is current, approved and clear. If not, the problem is the source.
- If the right, current, clear source was retrieved and the answer still misstates it, the problem is generation: instructions, grounding or the model.
- Record the cause for every weak answer, then count. The pattern tells you where to spend effort.
Copy this diagnostic and fill it in for your assistant:
AI ANSWER DIAGNOSTIC
Signs the problem is the source material (tick any that apply):
[ ] Answers cite old or superseded files
[ ] Rephrasing the same question gives different answers
[ ] Answers blend two versions of a rule or definition
[ ] Answers mix internal notes with published material
[ ] Nobody can say which document is current
[ ] Source files have no owner or review date
[ ] Answers are vague where the topic has a clear rule
[ ] Answers sound polished but cannot be traced to a passage
For each weak answer, record:
Question:
Expected answer and source:
Sources retrieved:
Right source present? yes / no
Right source retrieved? yes / no
Retrieved source current, approved and clear? yes / no
Cause: missing source / retrieval / outdated / conflicting / vague / buried / audience / generation
If most ticks fall in the first list, start with the sources, not the model. The full pre-launch version of this test, with scoring and an issue log, is in how to test an AI knowledge base before your team uses it.
Can a better prompt or a better model fix weak answers?
Rarely, when the cause is the source material. Prompts control tone, format, length, citation behaviour and when to escalate. They cannot tell the assistant which of five conflicting documents is current, or create a source that is not there.
A better model helps when the task needs stronger reasoning or more consistent instruction-following over sources that are already sound. It does not help when the assistant gives old answers, cites the wrong version, mixes audiences or misses an answer buried in a long file. A stronger model can make those answers read better while leaving them just as wrong, which makes them harder to catch.
The test is simple: if the right, current source was retrieved and the answer still misstates it, look at the prompt and the model. If the right source was not retrieved, or was not right, look at the sources.
What does the diagnosis point to?
Each cause has a different next step. The diagnosis tells you which one, so that time goes to the layer that is failing.
| Diagnosis | Next step |
|---|---|
| Right source missing | Add it, or document the gap and set the assistant to say it cannot answer |
| Retrieved the wrong document | Add status, audience and type labels; see which metadata fields matter for AI retrieval |
| Old versions retrieved | Remove or archive superseded files and mark the current one |
| Conflicting sources | Agree which source takes precedence and record it |
| Vague or buried answers | Rewrite or split the source into clear, self-contained sections |
| Mixed audiences | Separate internal, draft and published material, with access rules |
| Answers cannot be traced | Require source IDs and passages in every answer |
| Generation errors on good sources | Tighten instructions, test citations, review the model choice |
For evidence work, traceability is the deciding check. A reviewer should be able to move from the answer to the passage to the original document, the same chain described in how to keep every claim in a report traceable to its source. If you need an outside view of where your source base is failing, a data system audit sets out what is wrong and what fixing it takes.
What do the NIST frameworks say about this?
NIST's AI Risk Management Framework treats reliable AI as a matter of governance around the system, not only the model. AI RMF 1.0 (NIST AI 100-1, January 2023) organises the work into four functions: govern, map, measure and manage. NIST's framework page states that AI RMF 1.0 is being revised as part of the White House AI Action Plan; no revised version had been published when we checked in October 2026.
The Generative AI Profile (NIST AI 600-1, July 2024) applies the framework to generative AI. Two of its suggested actions bear directly on weak answers: reviewing and verifying sources and citations in outputs during pre-deployment testing and ongoing monitoring, and verifying that data used for retrieval-augmented generation is grounded. Both frameworks are voluntary. They are useful as a checklist for what a review should cover, not as a certification.
Common mistakes
- Changing the prompt before checking the sources. Prompts cannot make old, duplicated or unclear documents trustworthy.
- Calling every bad answer a hallucination. Many are faithful answers from the wrong source, and they need a different fix.
- Judging answers without looking at what was retrieved. The retrieved passages show where the failure started.
- Treating all documents as equally current. Superseded files stay retrievable until they are removed or marked.
- Switching models to fix a source problem. A stronger model can make a wrong answer more convincing.
- Diagnosing from one or two examples. Run a set of real questions and count causes before deciding what to fix.
Frequently asked questions
Why does AI give weak answers even when we upload our documents?
Uploading gives the assistant access to the documents. It does not make them current, consistent or clear. If old versions, duplicates or conflicting files are in the upload, the assistant can retrieve them and answer from them.
Does retrieval-augmented generation stop hallucinations?
No. Retrieval reduces the risk by grounding answers in your material, but the model can still add unsupported detail or attach a citation that does not support the claim. And if the retrieved material is old or conflicting, the answer can be faithful and still wrong.
How do we know if the problem is the documents or the AI?
Trace weak answers back to the sources retrieved. If the right, current source was retrieved and the answer still misstates it, the problem is generation. If the right source was missing, not retrieved, outdated or unclear, the problem is the source material.
Is AI a source?
No. The source is the document, dataset, interview, submission or report the answer rests on. AI can help find and summarise that material, but every claim still has to be checked against the underlying source.
Why does AI make up sources?
When a model is asked to support an answer and has no controlled source base, or no rule requiring it to cite retrieved passages, it can produce citations that look plausible but do not exist or do not say what is claimed. Require answers to point to source IDs and passages, and check them.
Sources
- Google Cloud, What is Retrieval-Augmented Generation (RAG)?, undated web page. https://cloud.google.com/use-cases/retrieval-augmented-generation. Checked 12 October 2026.
- OpenAI, Retrieval, API documentation, current version. https://developers.openai.com/api/docs/guides/retrieval. Checked 12 October 2026.
- National Institute of Standards and Technology, Artificial Intelligence Risk Management Framework (AI RMF 1.0), NIST AI 100-1, 26 January 2023 (framework page states it is being revised). https://www.nist.gov/itl/ai-risk-management-framework. Checked 12 October 2026.
- National Institute of Standards and Technology, Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile, NIST AI 600-1, 26 July 2024 (section 2.2 Confabulation; suggested actions MS-2.5-003 and MS-2.5-005). https://doi.org/10.6028/NIST.AI.600-1. Checked 12 October 2026.