‹ Back to glossary
RAG (Retrieval-Augmented Generation)
intermediate
A technique that combines AI text generation with real-time information retrieval. Instead of relying only on what the model learned during training, RAG searches a knowledge base first and then generates an answer based on the retrieved information. This reduces hallucinations and keeps answers up to date.