DEFINITION

RAG

Retrieval-Augmented Generation

Definition

A technique that enhances LLM responses by first retrieving relevant documents from a knowledge base, then including them in the prompt. RAG gives agents access to custom knowledge without retraining the model — critical for agents that need to reason over large document sets.

Examples in the Wild

  • Example 1:Agent retrieves your company's documentation before answering a support question
  • Example 2:Agent searches past meeting notes before preparing a briefing