Retrieval-Augmented Generation (RAG)
Generating an answer using documents or passages retrieved for the particular question.
Published · Updated
The travel handbook says the reimbursement limit went up. The assistant still quotes last year’s amount, complete with a genuine handbook citation. Where would you start looking for the mistake?
Retrieval-augmented generation links a search step with a generation step. Source selection, access permissions, indexing and the wording of the final answer can each affect the result. A quotation is useful because a reader can trace it to the passage that supplied it.
Locate the failure before changing the model
Open the passages the assistant received. If it saw only the superseded edition, inspect the index, dates and retrieval ranking. If it saw both limits, inspect how the answer chose its source. One stale number points to two quite different repairs.
Give the system a current rule, a retired rule and a question the handbook never answers. Scoring whether the right passage arrived separately from whether the final claim was right makes the failure much easier to locate. Original retrieval-augmented generation paper
