RAG / Retrieval · Level 2 of 5
RAG (RAG)
Generating output conditioned on information retrieved from an external collection.
Retrieval supplies context without necessarily changing the generator's parameters.
Example
An assistant retrieves manual passages before answering a product question.
Listen to the definition and example
Audio transcript
RAG. Generating output conditioned on information retrieved from an external collection. Retrieval supplies context without necessarily changing the generator's parameters. For example: An assistant retrieves manual passages before answering a product question.
Explore this concept
A useful analogy
Looking up relevant pages before writing an answer.
Why it matters
This helps you trace an answer back to the evidence that was actually retrieved.
Technical detail
A retrieval stage selects evidence x for a generator modeling p(y | prompt, x). Errors can enter retrieval, assembly, or generation.
Common misconception
Retrieval does not itself fine-tune the generator or guarantee that every claim is supported.
Start with
Related concepts
Quick recall question
Try answering before looking back at the definition.