Overview
Retrieval-augmented generation (RAG)
Retrieval-augmented generation (RAG)
Meaning
A pattern that retrieves relevant external information and supplies it to a model before generation.
When to use it
Use it when answers should rely on current, private, or domain-specific documents.
Practical example
Retrieve policy passages for the question, then answer using only those passages.