liveBook · Manning

Retrieved document

A retrieved document is information selected from a source by an information-retrieval process and supplied as context or evidence for a query or task.

How 2 Manning books explain it

Grokking AI Applications

Textual information retrieved from a knowledge source and supplied to a language model alongside a user query.

How it is used
Supplies relevant external context so a language model can answer queries about new or unseen information.
How deep it goes
Explains top-k selection, similarity distance, prompt enrichment, and grounding, while deferring large-scale metadata and high-dimensional details.
Examples
Uses pet-related chunks about Fox, Kit, and Brian to demonstrate selecting context and generating an answer.
What you can do after
Understand how selected context enables a stateless language model to answer questions using retrieved information.

Read how Grokking AI Applications explains retrieved document →

Building Reliable AI Systems

Information selected from an external knowledge source and supplied to a model as response context.

How it is used
Grounds generated responses by supplying relevant knowledge-base information alongside the user’s query.
How deep it goes
Traces query-based retrieval and context use, without detailing retrieval or generation internals.
Examples
Uses an electronics e-commerce chatbot to illustrate domain background as relevant context.
What you can do after
Understand how retrieved information can ground a generated response in evidence.

Read how Building Reliable AI Systems explains retrieved document →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.