The idea
Retrieval-augmented generation selects relevant reference passages for a question and supplies them as context to a model. It does not automatically retrain the model or guarantee a correct answer. Access controls should filter eligible documents before their content reaches the model, and an answer should admit when the retrieved evidence is insufficient.
Worked example
A fictional shop policy contains delivery, returns and warranty sections. For a question about returning a damaged product, retrieve the returns section and provide its version date. Do not supply an unrelated employee document just because its wording is similar. If the policy omits the requested deadline, the assistant should not invent one.
Try it
Write a three-section fictional policy and two customer questions. For each question, select the supporting passage manually and draft a source-grounded answer. Add one unanswerable question and specify the clarification or escalation response instead of guessing.
