Instructions & context

Retrieval

Also called information retrieval.

Retrieval is finding and returning information relevant to a request from stored or connected material, so an AI app can use it as context.

Example

For a question about venue parking, the app selects the parking paragraph from a handbook instead of passing the whole handbook into every answer.

  1. A question“How do I cancel a booking?”
  2. Search the sourcesHandbook, files, earlier chats.
  3. Relevant passagesThe cancellation section, not the whole handbook.
  4. Write the answerThe model uses those passages and links to them.
Retrieval finds; generation writes. Retrieval is the highlighted part. Adding the writing step on purpose is retrieval-augmented generation.

Why it matters

An app can retrieve passages, records, images, or earlier conversations. The search method affects what is found and what useful material is missed.

Retrieval only finds material. Writing the answer is a separate step. When an app does both on purpose, the pattern is called retrieval-augmented generation.

Common confusion

A missing search result does not prove the source lacks the answer. Keyword search, similarity search, and combined search can return different results.

Sources

Updated October 1, 2026.

Cookie preferences