Skip to content

Retrieval-Augmented Generation

A technique that lets a model look up relevant documents and include them in its answer, improving accuracy and freshness.

Last updated

Retrieval-augmented generation (RAG) combines a retrieval system with a language model. When a question arrives, the system searches a knowledge base for relevant passages, then passes them to the model as context so the answer is grounded in real source material. RAG reduces hallucination, keeps answers current without retraining and is the standard way to build chatbots over private documents.

Related terms

Keep exploring

Browse the full AI glossary or compare AI tools that use this technology.

Report an issue with this page