Skip to content
trending
AI Glossary / RAG
⚙️ Technical

RAG

Connecting a model to a knowledge base - AI first searches for facts, then answers. Fewer hallucinations.

RAG (Retrieval-Augmented Generation) is an architecture connecting a language model to an external knowledge base: before the model answers, the system searches for matching document fragments and adds them to the prompt. The model responds based on provided facts, not just memory from training. This is the standard way to build company assistants and bots based on proprietary documents: fewer hallucinations, current knowledge without retraining, and the ability to cite sources. RAG quality depends mainly on search quality - the model won't fix being given the wrong fragments.

Related concepts
EmbeddingVector databaseHallucinationGrounding

← All terms in the AI Glossary

// site map
Quantslant in numbers 1,427posts in archive26news from the last 7 days18video models in the observatory
🎬 AI Video Benchmarks: Higgsfield DoP vs OpenAI Sora • Higgsfield vs Runway Gen-3 • AI Video Credit Calculator
× ‹ enlarge ›