AI Glossary Term

What does “Retrieval” mean?

Definition

Finding relevant documents or records from a knowledge source for a query.

How Retrieval works

Diagram for Retrieval, steps in order: Query; then Search a collection: keywords or embeddings; then Rank matches; then Top results returned.QuerySearch a collection: keywords orembeddingsRank matchesTop results returned

Example

When you ask a documentation chatbot how to reset a device, it first retrieves the three most relevant help pages from thousands before anything is written.

Why it matters

Finding the right information is the first step to answering from sources. Poor retrieval leads to poor answers even with a good model.

Common questions

Keyword vs semantic retrieval?

Keyword retrieval matches exact words. Semantic retrieval matches meaning, often through embeddings.

How is retrieval judged?

By whether the right documents appear near the top, using measures such as precision and recall.

Is retrieval the same as search?

Closely related. In AI systems the term usually refers to fetching content to feed into a model.

Learn more in our free guides

Test yourself

See also