AI Glossary
Retrieval-Augmented Generation (RAG)
Linking a language model with external knowledge sources for fact-based answers.
Definition
RAG combines a language model with an external knowledge source. Before the model responds, relevant documents are retrieved from a database and embedded in the prompt. This way, the AI answers based on actual sources rather than just training knowledge – which significantly reduces hallucinations and enables current, company-specific answers. RAG is the standard for AI assistants in enterprises.
Related Terms
Sources: a16z AI Glossary · CNET AI Terms Glossary