Retrieval-Augmented Generation (RAG)
medium 12 minA retrieval-augmented system maintains a searchable collection and consults it for each question.
Where it shows up
The same pattern appears across everyday software.
Support bot
Answers from the help centre and policy docs, with links to the source article.
Code search
Finds the files and functions relevant to a question about a large repo.
Legal research
Pulls the clauses and cases that matter, so every claim can be checked.
Which refund policy reached the answer?
A revised policy extends the return period. Give its passages stable identifiers and retire superseded entries when the new index is published. Search retrieves the standard window and a separate holiday exception. Keep both source IDs as the passages cross into the generation request. Check that the answer uses the current release and that each claim can be traced to the supplied sections. A confident answer from v6 is still stale.