Skip to content

Glossary

Retrieval-augmented generation: definition

Retrieval-augmented generation is a technique in which a language model is given relevant passages retrieved from a body of documents and asked to answer from them.

Last updated:

Key facts

Also called
RAG
In Orblex
The Orblex assistant answers from a bounded set of passages retrieved from the workspace and numbers its citations.[1]

What does retrieval-augmented generation mean in practice?

A language model knows only what it was trained on, which does not include a company's emails or deals. Retrieval-augmented generation closes that gap without retraining. When a question arrives, the system first searches the organisation's own content for relevant passages, then hands those passages to the model along with the question. The model writes an answer from what it was given. This keeps answers current and makes citation possible, because the system knows which passages were supplied. The quality of the answer is limited by the quality of the search: if the right passage is not retrieved, the model cannot use it.

Grounding
Grounding is the practice of tying a language model's output to specific source material, so that each claim can be traced to something the model was actually shown.
Hybrid search
Hybrid search combines keyword search and meaning-based search in one query, so that results match both exact terms and similar ideas.
Embedding
An embedding is a list of numbers that represents the meaning of a piece of text, arranged so that texts with similar meanings have similar numbers.
Hallucination
A hallucination is a statement produced by a language model that is fluent and confident but false or unsupported by any source.

Questions and answers

What is another name for retrieval-augmented generation?

Retrieval-augmented generation is also called RAG. The terms name the same idea.

What is the difference between retrieval-augmented generation and grounding?

Retrieval-augmented generation is a technique in which a language model is given relevant passages retrieved from a body of documents and asked to answer from them. Grounding is the practice of tying a language model's output to specific source material, so that each claim can be traced to something the model was actually shown.

Sources

  1. src/lib/ai/retrieval.ts (retrieve)

Last verified:

Request early access

Orblex is in early access. It has been public at orblex.app since 5 October 2026 and is opening to a small group of sales teams before a wider launch. A person replies within one working day.

Get Early Access