Intuition
The system first finds relevant material, then asks the model to answer using that material.
Technical definition
RAG architectures retrieve documents or passages at query time and condition generation on the retrieved context.
Example
A support bot retrieves product documentation before answering a customer's question.
Common misunderstandings
- RAG does not automatically prevent hallucination.
- Retrieval quality often matters as much as model choice.