Índice do artigofaltam 8 min de leitura
In a measurement on a real knowledge base, the retrieved material contained on average 54.1% of the key terms of the correct answer. In more than a third of the questions (37%), what reached the model did not carry even half of those terms, and no model can make up for what is not in the material.
The internal assistant was approved in a demo, went into a pilot and now gives wrong answers. Someone asks about the warranty period and gets the number that was valid in 2019. Someone asks about a policy that changed last quarter and gets the old version, written with all the confidence in the world.
The natural reaction is to suspect the model, because it is the most visible piece and the only one you can swap by buying another. And it is almost always the wrong piece.
This article separates the four real causes of a wrong answer, with numbers from a system we built and measured. Three of them happen before the model enters the scene, and none of them is solved by switching vendors.
Article summary
- Cause 1: the answer is not written in any document. In our measurement, the material that reached the model carried on average 54.1% of the answer, and in 37% of questions it did not carry even half. In the test, the passage that answered each question was deliberately removed from the index, so the numbers show how much the answer depended on a single written passage.
- Cause 2: the information exists and the search brought back the wrong document, usually because the question does not stand on its own.
- Cause 3: the search brought back a correct document, but an old one. For the question about price, 4 of the top 5 results were from 2019 to 2022.
- Cause 4: the system answered when it should have stayed silent. The intuitive signal for detecting this has been refuted by measurement.
The short answer: the model is rarely the culprit
An AI assistant over company documents does not write from memory. It receives a question, looks for passages in the knowledge base, and only then drafts the answer using what it found. This means most of what can go wrong has already gone wrong before the model is called.
It is worth reconstructing the path of a typical wrong answer, because almost every real case fits into it.
-
"What is the product's warranty period?"
A legitimate, frequent question that has an official documented answer.
-
The system retrieves ten passages by relevance
Relevance is calculated by word overlap between the question and the text.
-
The top-scoring passage is from an old manual
The old manual is longer and repeats the word warranty more often, so it wins the relevance contest.
-
The model receives only that material
It has no way of knowing the document has been superseded. To the model, that is the company's knowledge base.
-
A wrong answer, well written and with a cited source
The citation, which should provide reassurance, here increases confidence in superseded information.
Notice that the only point where the model takes part is the fourth step, and there it did exactly what it was asked to do. Swapping that piece improves the wording of the mistake.
Cause 1: the answer is not written anywhere
This is the cause nobody wants to hear, because it cannot be solved by a purchase. The numbers below come from a test that simulates this cause: we removed from the index the passage that answered each question and measured how much of the answer's key terms still appeared in the rest of the retrieved material.
We built a retrieval system over 374 documents and evaluated it with 638 questions written by people on the content team, each with a known source document. Besides checking whether the right document appeared, we measured how much of the correct answer was actually present in the retrieved material.
On average, the material reaching the model contained a little over half of the terms of the correct answer. And only 63% of questions had at least half the answer available. In the other 37%, the model received less than half of what it needed to answer well. Since the right passage was removed on purpose, the number shows how much the answer depends on a single written document, not how many answers are missing from your knowledge base. The manual test described below is what makes that distinction in your case.
When the gap is in the knowledge base, it is because a company's operational knowledge lives in people's heads, not in documents. What is written down is what someone had time to write, usually during implementation, usually years ago.
The questions the operation receives every day have rarely been recorded anywhere, and those are exactly the ones the assistant is judged on.
The good news is that this cause is the cheapest to confirm, and the test does not depend on the assistant existing.
Cause 2: the information exists and the search brought back another document
The second cause is more subtle. The answer is written, the right document exists, and yet the search brings back something else.
The pattern that shows up most is the question that does not stand on its own. Of the 730 questions we collected, 87 had to be discarded from the evaluation because they did not carry any distinctive term from the document that should answer them. These are questions like "does it run on Android and iPhone?" or "how many users are left out?", perfectly clear to someone reading the page, and with no address at all as a standalone query.
In real use this shows up in the second message of the conversation. The first question is complete, the answer comes back right, and then the person writes "and for an annual contract?". Without the subject of the first question, this query points nowhere.
The fix is an engineering one and it is well known: rewrite the question with the conversation's context before searching. It is cheap, and it is one of the first things a prototype forgets.
The other variant of this cause is vocabulary ambiguity. The company calls it a "request", the customer calls it a "ticket" and the manual calls it an "incident". Word search does not know they are the same thing, and the people who suffer are those using the vocabulary that did not make it into the documents.
Cause 3: the search brought back a correct document, just an old one
This is the least anticipated cause in the project. We asked our system how much it costs to develop an app, which is one of the most frequent sales questions there is.
| Position | Retrieved document | Year | Score |
|---|---|---|---|
| 1 | UX best practices for apps | 2019 | 14.26 |
| 2 | Is it worth investing in wearable apps | 2019 | 13.58 |
| 3 | Current software development page | 2026 | 12.50 |
| 4 | How much it costs to build an app for your startup | 2019 | 11.90 |
| 5 | How much it costs to host a system | 2022 | 11.85 |
Query to the prototype's index on August 31, 2026. Lexical search score, with no date filter.
Four of the top five are from 2019 to 2022, and the only current document came in third. An assistant with no defense against this would put together an answer about price using material from the last decade, and the source citation would make the mistake look more reliable.
The cause is mechanical: relevance search does not see dates. Older text tends to be longer, more generic and repeat the words of the question more often, which is exactly what relevance rewards. The new document, written more directly, loses.
Cause 4: it answered when it should have stayed silent
The fourth cause is the one that destroys trust fastest. An assistant that answers everything will eventually answer something it does not know, and it only takes once for people to stop using it.
The defense against this is called abstention, and the intuitive idea for implementing it is to look at the search score: if nothing scored well, the question must be out of scope. We tested this hypothesis and it is refuted.
| Question | Situation | Top score | Confidence (top over median) |
|---|---|---|---|
| "what is the best carrot cake recipe" | Out of scope | 9.52 | 1.13 |
| "do you build AI chatbots" | In scope | 8.88 | 1.01 |
The carrot cake question scored higher than the question about our own service, on both metrics. The reason appears when you open the results: "there is no cake recipe" (the Portuguese equivalent of "there is no one-size-fits-all formula") is a common expression in corporate text, and "receita", the Portuguese word for recipe, also means revenue. In a large knowledge base in Portuguese, almost every common word appears somewhere.
The practical conclusion is that the decision to answer or stay silent needs to happen before the search, with something that understands the question instead of counting words. A small, cheap model can handle it, processing a few dozen tokens per question.
How to find out which of the four is yours, in one afternoon
The diagnosis does not require hiring anything and does not require the assistant to exist yet. It uses material your company already has, and the checklist below fits into one person's afternoon of work.
The goal is not to point to a single culprit. It is to find out the proportion among the four, because that proportion decides the order of the work and the size of the budget.
Companies that skip this step tend to invest in the most visible cause, which is rarely the most frequent one.
The checklist has five steps and all of them use material that is already available in the operation.
- Gather thirty real questions, taken from what support, sales and help desk answered in writing last week. Questions invented in a meeting do not work, because they are always well phrased.
- Look for the answer yourself, in the official documents, with a stopwatch. Whatever you cannot find in two minutes is a candidate for cause 1.
- Note the date of each document you used to answer. A document more than two years old for a question about price, deadlines or policy is a candidate for cause 3.
- Mark the questions that only make sense in context, the ones that use "and in that case", "and the other plan", "and for existing customers". Those are cause 2.
- Write five questions outside the company's scope and see what the system does with them. Any answer that is not a refusal is cause 4.
The result is a distribution, not a single verdict. Most companies find all four, in different proportions, and the proportion is what decides the order of the work.
What to fix first
Each cause has a different fix, and they do not cost the same or deliver the same result.
| Cause | Symptom the user reports | What fixes it | Effort |
|---|---|---|---|
| Answered without knowing | "It makes things up" | Scope filter before the search, with a cheap model | Low |
| Old document | "It gave me the old price" | A date per document and exclusion of expired content | Low |
| Wrong document | "It understood something else" | Rewrite the question with the conversation's context | Medium |
| Answer does not exist | "It doesn't know anything useful" | Write what is missing, with an owner and reviews | High and ongoing |
The recommended order is top to bottom, and not because it is the easiest. It is because the first two protect user trust while the fix in the last row of the table happens, writing what is missing (cause 1), which takes months of work. An assistant that stays silent on some of the questions keeps being used. One that gets the same proportion wrong is abandoned, and after that not even new content brings adoption back.
When the problem really is the model
That case exists, and it is worth acknowledging so this article does not turn into a thesis that the model never matters.
The model is responsible when the retrieved material is correct, current and complete, and the answer still comes out wrong. In practice this shows up in three ways: the answer contradicts a passage that was on the table, it mixes two documents that were about different products, or it ignores a condition that was written down ("as long as it is requested within 7 days").
In these cases, the fix is usually cheaper than switching vendors: reduce the number of passages sent, make the instructions more explicit about not extrapolating beyond the material, and split into two steps when the question requires comparing documents.
Sources and method
The numbers in this article come from a retrieval prototype built on X-Apps' public content, run on August 31, 2026. The corpus has 374 documents and 2,563 passages.
The evaluation used 730 questions written by the content team, each with a known source document. We discarded 5 with no document body and 87 that did not carry a distinctive term from the expected document, leaving 638 questions evaluated. The test setup removes the text of the questions themselves from the index, to simulate an unseen question.
The scope caveat is that these measurements evaluate retrieval, that is, whether the right material reaches the model, and they were done on corporate content in Portuguese. Knowledge bases of a different nature may behave differently.
Frequently asked questions
Rarely. Of the four most common causes, three happen before the model comes into play: the information is not written down, the system retrieved the wrong document, or it retrieved an outdated document. In those cases the most expensive model in the world writes the same mistake more elegantly.
Take twenty real questions your operation receives and look for the answer manually in your documents. If you cannot find it, the assistant will not find it either. This test takes an afternoon and costs nothing.
Because relevance search does not see dates. Older text tends to be longer and repeat the words of the question more often, so it wins. Freshness needs to enter the system as an explicit rule, with a date per document.
The decision needs to happen before the search, with a cheap model assessing whether the question is about the company's business. Using the search score as the criterion does not work: we measured a question about carrot cake scoring higher than a question about our own service.
Abstention, because it is the cheapest to implement and the one that best protects user trust. An assistant that stays silent on 20% of questions is accepted; one that gets 20% wrong is abandoned.
The diagnosis does not require hiring anything. It uses the questions your operation already answers in writing and the documents that already exist, and the result is a list of which business questions have no documented answer.





