# What Makes AI Answers From Your Documents Accurate *Guide — 2026-11-25 — by Mahmoud Zalt* Four steps make AI answers from your documents accurate: two kinds of search, a second reading, the full section and cited sources. With our test results. **TL;DR.** **Accurate answers from your documents come from four steps, not from a smarter model: search by meaning and by exact words, re-score the results with a second reading, hand over the whole surrounding section, and cite every source.** In our tests on 236 business questions, the right document was in the top five results for 213 of 214 questions that had an answer. Tables and questions that span several documents are still the weak spots. A customer asks your AI Employee how long they have to return an item. A colleague asks what was agreed in a client's statement of work. Both answers have to come from your files, not from what the underlying AI model picked up in training. That model has never seen your price list, your policies or your contracts. This guide walks through how **Sistava** gets an answer from your documents, step by step, in plain language. The results come from Sistava's own tests on our own system, published in full in [our research report on document answer accuracy](/en/ai-research/ai-employee-document-answer-accuracy). We built the system and wrote the business test sets, so read them as a vendor's own measurement and check the limits section below. ## At a Glance - **213 of 214** answerable questions had the right document in the top five results, in our tests - **92 to 100%** of claims in graded answers were backed by their sources - **20 of 22** questions with no answer came back empty instead of guessed - **0** passages returned from another workspace in any measured run ## Why do AI answers from documents go wrong? AI answers from documents go wrong in three ways: the wrong document is found, the right document is found but the answer adds something to it, or nothing relevant exists and the AI answers anyway. Each one needs a different fix, which is why accuracy is a chain of steps rather than one setting. - **Wrong document. **The answer is confident but about the wrong client, last year's price list or a different policy. - **Added detail. **The right page was found, but the reply includes a plausible fact nobody wrote down. - **No answer exists. **Your files are silent on the question, and the AI fills the gap instead of saying so. - **Wrong reader. **Underneath all three sits a fourth risk: an answer drawn from a file the person asking was never allowed to see. We treat that as a hard line, not a quality score. The useful question is not how clever the model is. It is how often the right page reaches it, and what it does when no page does. The four steps below are about exactly that. ## Step 1: Why search by meaning and by exact words? Searching two ways at once catches what either search misses alone. Meaning search finds passages that say the same thing in different words, such as "cancel" against "terminate the agreement". Keyword search catches exact strings that meaning search can blur: order numbers, product codes and people's names. Before any search can happen, each document is read and split. PDFs, Word files, slides, spreadsheets, web pages and images are turned into text with their headings and tables kept, and scanned pages go through text recognition. A scan without that step holds no text at all and can never be found. Each document is then cut into passages of roughly 400 words, at headings, so each passage stays on one topic. Every passage keeps its address, such as "Returns and Repairs, How to start a return", and that address is searched along with the text. That label matters more than it sounds, because many business files name the client only in the title. In an earlier run on our agency test set, the sentence proving the answer was found for 97% of questions with the address included and only 54% without it. When someone asks a question, both searches run side by side and each returns 50 candidates. The two lists are merged into one using a standard method for combining rankings. The result is fast and broad, but rough. ## Step 2: What does a second pass that re-scores results do? The second pass reads the question next to each candidate passage, one pair at a time, and scores how well that passage actually answers it, from 0 to 1. Search finds candidates. The second reading picks the winners. It is slower than search, which is why it only looks at the merged shortlist. Think of an open book exam. Search is the assistant who grabs every page that mentions returns. The second reading is the one who actually reads each page and says "this one answers the question, those three only mention the word". Passages that score too low are thrown away. If nothing survives, the employee is told so and says the answer is not in its knowledge. Where to draw that line is the most consequential setting in the whole system, because it trades found answers against honest silence. **Why the cut-off matters.** With a low cut-off, every one of our 22 questions that had no answer still got passages back, so the employee would have had to spot unaided that plausible text did not answer the question. At our current setting, 20 of those 22 came back empty. ## Step 3: Why read the whole surrounding section? A passage on its own can lose the sentence that explains it, like a price row without the plan name above it. So the best eight passages are each widened to a window of their section, up to 4,000 characters centred on the match. The employee sees the answer and the context around it. Getting this window right taught us something. On a public benchmark built from long encyclopedia articles, the right article was found for 85% of questions, but the proving sentence reached the employee for only 24%. The section window had been cut from the top, before the matching passage. The window is now centred on the match instead. That benchmark ran with free stand in models rather than our production ones, so it compares settings, not absolute quality. The rerun with the fix is part of our next round of tests. One more detail helps with conversations. For a short follow on question such as "and the second one?", the previous question is searched with it. The employee can also run another search itself when a question needs more than one document. ## Step 4: Why must every answer cite its sources? Citations let you check the answer in seconds instead of trusting it. Each passage handed to the employee carries a number, and the answer points to those numbers, naming the document, section and page. For example: "The Team plan is billed per seat on annual terms [1: Pricing 2026, Plans, page 1]." In our tests, numbered sources pointed to the right document 96.3% of the time on one business test set and 97.7% on the other. An independent AI judge graded 20 answers and found that 18 were fully backed by their sources. Two answers on the agency set each added a detail the passages did not support. Those two answers are the reason citations matter. A source number lets you open the page and see in one glance whether the claim is there. Without it, you can only take the reply on trust. | Step | What it prevents | Measured result | |---|---|---| | Search by meaning and exact words | Missing a passage because it uses different words or a code | Right document in the top five for 213 of 214 answerable questions | | Second reading that re-scores | Junk passages reaching the answer when nothing fits | 20 of 22 no-answer questions came back empty at our current cut-off | | Whole surrounding section | An answer that lacks the context that explains it | Proving sentence among the passages for 98.6% of answerable questions | | Numbered sources | Answers you cannot check | Sources pointed to the right document 96.3% and 97.7% of the time | ## How did we test it? We asked 236 questions over the documents of two fictional companies, written to look like real business files, plus three public benchmarks. Most results were counted by code against a known right document and proving sentence, with no judgement involved. Answer grounding was graded by a separate AI judge on a sample. - **A marketing agency set. **96 documents from a fictional 19 person agency: client briefs, statements of work in two versions, scanned invoices, meeting notes, price lists for two years, policies and payroll. 130 questions. - **A hardware company set. **32 documents: price lists, policies, manuals and scanned paperwork. 106 hand written questions, each with its right answer and the sentence that proves it. - **Questions with no answer. **22 in total: 19 whose answer is in no document, and 3 about restricted files asked by a colleague without access. - **A privacy check. **A second, separate workspace with its own clients. No passage from it was returned in any run, and none of the three restricted files reached the colleague. Speed matters too, because nobody waits ten seconds for a returns answer. Finding and ranking the passages took a median of 0.66 seconds per question, and 95% of searches finished within 0.82 seconds, before the employee started writing. ## Where does it still fall short? It finds the right document almost always, but it ranks it first less often for some kinds of question. Being in the top five is enough to answer, because the employee reads all eight passages. Being ranked first shows how sure the system is, and that is where the gaps are. - **Tables. **Always in the top five, but ranked first for 59% of table questions. On the agency set the right table came first for only 3 of 13, because many of its quarterly reports share one layout. - **Questions across documents. **Found every time, ranked first for 56%. - **Follow on questions. **7 of 8 found their document in the top five, the weakest result of any type, on a sample too small to say more. - **Small samples. **The no-answer result rests on 22 questions and grounding on 20 graded answers. One more failure moves a percentage by several points. - **Our documents, in English. **We wrote the business sets. They resemble real files, but they are not yours, and other languages are not measured yet. - **Saying no has a price. **At our current cut-off, the hardware set found the right document in the top five for 91.2% of answerable questions, down from 98.9%. We chose that trade on purpose. Public benchmarks give an outside check. With free stand in models, the right article was in the top five for 85.2% of answerable encyclopedia questions, 80.0% of financial table questions and 76.0% of the articles needed by two-article questions. The same stand in models scored 78.6% on our hardware set, against 98.9% with the production models. None of these limits change the basic shape: find the right page, read it in context, cite it, and stay silent when there is nothing to cite. They tell you where to look harder when you test it on your own files, which is the part that matters for your business. Tables, multi-document questions and short follow ons are where we would check first. ## How do you get accurate answers from your own documents? Give the employee clean, current documents with clear headings, decide who can see each one, then test with questions you already know the answers to. Most accuracy problems we see start in the files, not in the search. ### Five steps to answers you can trust 1. **Add the documents people actually ask about** — Policies, price lists, manuals, contracts and FAQs. Files, websites, pasted text and connected apps all work, and files of up to 200 pages are accepted. 2. **Keep headings and titles meaningful** — Each passage is labelled with its document title and section, and that label is searched. A file called "final v3" with no headings is much harder to find than "Acme statement of work, Payment terms". 3. **Remove or retire old versions** — Picking the current version over an old one is one of the harder question types in our tests: always in the top five, ranked first 80% of the time. One current copy beats two competing ones. 4. **Choose who can see each document** — Whoever adds a document picks only themselves, the default, or the whole workspace. Search only looks at passages the person asking may see, before anything is ranked. 5. **Test with known answers and with gaps** — Ask ten questions you know the answer to and five your files do not cover. Open the cited sources for the first group, and confirm the second group gets an honest "not in my knowledge". If your files are scattered or contradict each other, start with the preparation work before you test anything. A focused source of truth with clear owners does more for accuracy than any setting, and [our guide to preparing company knowledge](/insights/how-to-prepare-company-knowledge-for-ai-employees) walks through it. Then add the files and choose who can see each one. Once your documents are in, the test is quick. Ask the questions your customers and colleagues ask most, open the numbered sources on a handful of answers, and keep a short list of anything the employee said was not in its knowledge. That list is usually the next document worth writing. ## Frequently asked questions ## FAQ ### Does a better AI model make answers from documents more accurate? Less than you might expect. The model can only answer from the pages it is handed, so most of the accuracy comes from finding the right page and refusing when there is none. In our tests the right document reached the employee for 213 of 214 answerable questions, which is where the work is. ### What is retrieval augmented generation in plain words? Before the AI answers, the system finds the few passages in your files that matter for the question and hands them over with the instruction to answer from them. It works like an open book exam where a fast assistant puts the right page in front of the student. ### Can it read scanned invoices and photos of pages? Yes. Scanned pages and photographed documents go through text recognition when they are added. In our tests, questions whose answer was only in a scanned page found the right document in first place every time, across 17 questions. ### Can someone see an answer drawn from a file they are not allowed to read? No. Each document's visibility travels with every passage cut from it, and search filters on it before anything is ranked. In every measured run, no passage from another workspace was returned and three restricted files never reached a colleague without access. ### Why do tables score lower than other questions? Many business tables look alike, such as one quarterly report per client in the same layout, so the ranking is less sure which one is right. The right table was always in the top five in our tests, so the employee still sees it, but it was ranked first for only 59% of table questions. ### How fast is the search? In our tests, finding and ranking the passages took a median of 0.66 seconds per question, and 95% of searches finished within 0.82 seconds. That happens before the employee starts writing its reply. Accuracy from documents is not magic and not a single switch. It is two searches, a second reading, the full section, and a source on every claim, plus the honesty to say "that is not in your documents" when it is not. Start with clean files, test with questions you know, and open the sources. **Tags:** document-answers, ai-accuracy, knowledge-base, citations, ai-employee