AI Glossary

Retrieval-augmented generation

Also called RAG

A technique in which a system first searches a collection of documents for passages relevant to a question, then gives them to the model so its answer draws on those sources rather than on memory alone. The name comes from a 2020 paper led by researchers at Facebook AI.

See also

  • Grounding

    Tying a model's answer to specific sources it was given, such as documents or search results, so the answer can be checked against them.

  • Semantic search

    Search that finds results by meaning rather than by exact words, often by comparing embeddings, so a search for "cheap flights" can find a page about "low airfares".

  • Embedding

    A list of numbers that represents a piece of text, an image or other data, learned so that similar items get nearby lists.

  • Hallucination

    When a model states something false, made up or not supported by its source, such as a citation, a quote or a number that does not exist.

Source: Lewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (2020) (opens in a new tab)

Cite this term.

CC BY 4.0, attribution required.

This term

Orbyt Labs, Retrieval-augmented generation (AI Glossary), Oct 18, 2026. https://www.orbytlabs.ai/orbyt-collective/glossary/retrieval-augmented-generation

The dataset (JSON)

Orbyt Labs Glossaries (Oct 19, 2026), https://www.orbytlabs.ai/glossary#dataset

Last updated .