Skip to main content

RAG (Retrieval Augmented Generation)

What is RAG?

Retrieval Augmented Generation (RAG) is an AI framework that combines the strengths of large language models (LLMs) with external knowledge sources. By retrieving relevant documents or data from a knowledge base and incorporating them into the generation process, RAG enables more accurate, up-to-date, and context-aware responses. This approach is especially useful for scenarios where the model needs to reference specific, dynamic, or proprietary information beyond its training data.