liveBook · Manning

Advanced rag

Advanced RAG is a retrieval-augmented generation pattern that extends basic retrieval and generation with additional processing, retrieval, or coordination components.

How 2 Manning books explain it

Retrieval Augmented Generation, The Foundational Ideas

Advanced RAG is a retrieval-augmented generation architecture that optimizes retrieval, document processing, and post-retrieval components while retaining the basic pipeline.

How it is used
Targets production reliability by improving retrieval quality and context processing without replacing the basic RAG architecture.
How deep it goes
Explains component-level optimizations and named techniques, while deferring graph-based modular orchestration and runtime agentic choice.
Examples
Uses intelligent chunking, metadata enrichment, HyDE, RAG-Fusion, reciprocal rank fusion, cross-encoder reranking, compression, and context ordering.
What you can do after
Apply via query expansion, hybrid retrieval, reranking, compression, and routing while evaluating component failures and operational tradeoffs.

Read how Retrieval Augmented Generation, The Foundational Ideas explains advanced rag →

Machine Learning Platform Engineering

A composite RAG system is a retrieval-augmented application assembled from multiple cooperating components such as embedding, retrieval, generation, and interface stages.

How it is used
Deploys private, up-to-date knowledge through a modular LLM application rather than repeated model retraining.
How deep it goes
Explains pipeline architecture and operational challenges but stops short of implementation code or component-specific configuration.
Examples
Uses composite pipelines, vector databases, Chainlit interfaces, streaming responses, source attribution, and Langfuse traces.
What you can do after
Diagnose/debug retrieval quality, prompt behavior, token consumption, cost attribution, and multistep pipeline failures.

Read how Machine Learning Platform Engineering explains advanced rag →

What to know first

Related concepts

Questions about advanced rag

What is advanced rag?

Advanced RAG is a retrieval-augmented generation pattern that extends basic retrieval and generation with additional processing, retrieval, or coordination components.

Which Manning books explain advanced rag?

Retrieval Augmented Generation, The Foundational Ideas and Machine Learning Platform Engineering.

What should I know before learning advanced rag?

Manning books that teach advanced rag usually introduce accuracy, similarity search, retrieval-augmented generation and language model first.

What kinds of advanced rag are there?

Kinds of advanced rag include fusion rag, retrieval-augmented generation, agentic RAG and multimodal rag.

What is advanced rag a kind of?

Advanced rag is a kind of modular RAG. Modular RAG is a retrieval-augmented generation architecture composed of interchangeable components for indexing, retrieval, query processing, augmentation, and generation.

What are the parts of advanced rag?

Advanced rag includes similarity search.

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.