Back to Glossary
Retrieval-Augmented Generation (RAG)
NLP & Language Models
Combines information retrieval with text generation.
Retrieval-Augmented Generation (RAG) links a retrieval system with a language model to produce fact-based text.
- Workflow: Retrieve relevant documents → insert into prompt → generate response.
- Advantages: Improved factuality and up-to-date knowledge.
- Examples: Knowledge-grounded chatbots, Q&A systems.