Skip to content

RAG

Retrieval-Augmented Generation

A technique where, before answering, the assistant searches the relevant fragments from your documents and hands them to the model as context. The answer is thus anchored in real data, not in the model's generic memory — the primary method for reducing hallucinations.

Appeared
Concept formalized in 2020 (Facebook AI / Meta paper), a standard in business assistants since 2023.
Tactics
We split documents into fragments, turn them into [embeddings](#embeddings), store them in a [vector database](#vector-database) and, on every question, inject the matching fragments into the prompt.

“RAG” is part of Glossary · AI Chatbot — part of the Atlas, Websem's reference of AI search, marketing and data terms.