liveBook · Manning

Prompt augmentation

Prompt augmentation is the addition of relevant information or instructions to an input prompt to provide a model with additional context.

How 2 Manning books explain it

Vibe Engineering

Prompt augmentation is the addition of retrieved or otherwise relevant information to an original model prompt.

How it is used
Uses retrieved repository context to ground AI coding assistance without overloading the model with unrelated files.
How deep it goes
Explains indexing, embedding-based retrieval, prompt placement, and manual overrides, but does not detail embedding or ranking algorithms.
Examples
Uses an authentication handler, related tests, indexed code chunks, pinned files, and excluded paths as concrete artifacts.
What you can do after
Operate retrieval-assisted coding workflows and correct poor context selection through explicit file and path controls.

Read how Vibe Engineering explains prompt augmentation →

AI Agents in Action, Second Edition

Prompt augmentation is the addition of retrieved information to an input prompt to provide a model with relevant context.

How it is used
Adds retrieved knowledge or memory to prompts so an LLM receives relevant context.
How deep it goes
Defines augmentation and traces RAG from document indexing through query matching to prompt context.
Examples
Uses a “capital of France” query and a retrieved statement about Paris to illustrate grounded answering.
What you can do after
Understand how retrieved document chunks become prompt context in a question-answering flow.

Read how AI Agents in Action, Second Edition explains prompt augmentation →

Also covered in

What to know first

Related concepts

Questions about prompt augmentation

What is prompt augmentation?

Prompt augmentation is the addition of relevant information or instructions to an input prompt to provide a model with additional context.

Which Manning books explain prompt augmentation?

Vibe Engineering and AI Agents in Action, Second Edition.

What should I know before learning prompt augmentation?

Manning books that teach prompt augmentation usually introduce language model, context window, similarity search and mean first.

What is prompt augmentation a kind of?

Prompt augmentation is a kind of pipeline component. A pipeline component is a discrete, executable stage in a data or machine-learning workflow that performs an operation and may consume or produce data artifacts.

What is prompt augmentation part of?

Prompt augmentation is part of retrieval-augmented generation. Retrieval-augmented generation is a technique that retrieves relevant information from external sources and supplies it as context to a generative model when producing an output.

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.