Artificial Intelligence

Retrieval

The process of finding and extracting relevant information from a large collection of documents or data in response to a query. In AI systems, retrieval is often the first step before generation.

Why It Matters

Retrieval quality is the bottleneck for RAG systems — if you retrieve the wrong documents, even the best LLM will generate poor answers.

Example

A search system querying a vector database with a user's question and returning the top 5 most semantically similar document chunks for the LLM to use as context.

Think of it like...

Like a research assistant who pulls the most relevant files from a massive archive before you start writing — the quality of what they find determines the quality of your work.

Related Terms