DEFINITION
RAG
Retrieval-Augmented Generation
Definition
A technique where an agent or LLM retrieves relevant external documents or data before generating a response. RAG improves factuality and reduces hallucination by grounding generation in retrieved context.
Examples in the Wild
- Example 1:Agent retrieving customer docs before drafting support response
- Example 2:LLM querying vector database for product specs before answering
- Example 3:Harness RAG pipeline for knowledge-base augmented workflows