A technique that retrieves material relevant to a question and supplies it to a language model as context for generating an answer.
When a shop extends its holiday return window, its assistant can retrieve the revised policy and use the new dates in its answer. Updating the indexed document makes the change available without retraining the model.
Further reading: Original RAG paper.