Find out who chooses the document
A support agent opens an installation manual and asks which wall bracket fits a particular monitor. If the complete manual fits comfortably in the model's input, the application can send the selected manual with the question. Now imagine an agent opens a blank chat and asks the same question across twenty years of product manuals. This time the application must first identify the model, the manual and the right edition.
Retrieval-augmented generation, or RAG, adds that selection step. A search system finds passages relevant to a question and gives them to the language model as evidence for an answer. A small collection can be difficult to search when several versions share a title. A large collection can be simple to work with when the user always selects one short document.
Build an answer key someone else can check
Collect questions from the people who will use the assistant. For each one, have a document owner record the acceptable answer, the current edition and the smallest passage that supports it. Add a question that the documents leave unanswered and one that requires a clarification, such as a bracket question with no monitor model. Keep some examples aside until the end.
Give the model a selected document and ask for an answer plus the section supporting it. Then supply just the passage identified by the owner and repeat the question. If the model gives the wrong bracket even with the correct table in view, inspect the table extraction and how the question identifies the product. A ranking change cannot fix a part number that disappeared when a PDF was converted to text.
Inspect what the search returned
For a collection that needs automatic selection, try searching titles, headings and exact product codes first. Save the passages returned for each test question. Count how often the known supporting passage appears among the results sent to the model. Then check whether each generated answer is both correct and supported by the source it cites.
Those checks point to different repairs. A search result for the wrong hardware revision suggests adding edition filters. A correct passage with an incorrect answer points back to the answer-writing step. If agents ask for a ‘wall mount’ and the manual calls it a ‘mounting assembly,’ compare keyword and meaning-based search on those specific misses.
Test the day a manual changes
Replace a sample manual with a new edition that lists a different bracket. Time how long it takes the assistant to cite the replacement. Repeat a question as two users with different access rights and confirm that only authorized passages reach the model for each user. Open the citation from the answer and check that it lands on the edition the user can actually read.
Use the held-out questions for the final comparison. Keep the selected-document approach if it handles the intended workflow accurately and affordably. Add retrieval where automatic discovery or selective access makes a measurable difference. Save the questions and answer key either way. They remain useful when the manuals, model or product line change.


