AI Glossary/RAG (Retrieval-Augmented Generation)
Generative AI

RAG (Retrieval-Augmented Generation)

Combining retrieval systems with language models to generate responses grounded in external knowledge.

In-depth explanation

RAG addresses LLM limitations like outdated knowledge and hallucinations by retrieving relevant documents before generation. The retrieved context is included in the prompt, grounding the response in actual sources. This enables knowledge-intensive applications, reduces hallucinations, and allows updating knowledge without retraining the model.

Examples

ChatGPT with browsing
Enterprise knowledge assistants

Master RAG (Retrieval-Augmented Generation).

Learn how to apply this concept with hands-on projects in our comprehensive AI programs.