ai
RAG
Retrieval-augmented generation.
Definition
RAG (Retrieval-Augmented Generation) is the technique of retrieving relevant documents and feeding them to an LLM as context before it generates an answer. Reduces hallucination and lets LLMs reference up-to-date or proprietary info.