Advanced rag
Advanced RAG is a retrieval-augmented generation pattern that extends basic retrieval and generation with additional processing, retrieval, or coordination components.
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
- accuracyAccuracy is the degree to which a result agrees with a specified truth, reference, or criterion, commonly measured as the proportion of evaluated predictions that are correct.
- similarity searchSimilarity search is a retrieval technique that finds or ranks items by their similarity to a query, often by comparing feature or vector representations under a similarity or distance measure.
- retrieval-augmented generationRetrieval-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.
- language modelA language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
Related concepts
- fusion ragincludes · Fusion RAG is a retrieval-augmented generation pattern that retrieves information through multiple queries, retrievers, or sources and combines their ranked results before generation.
- modular RAGkind of · Modular RAG is a retrieval-augmented generation architecture composed of interchangeable components for indexing, retrieval, query processing, augmentation, and generation.
- retrieval-augmented generationincludes · 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.
- similarity searchhas part · Similarity search is a retrieval technique that finds or ranks items by their similarity to a query, often by comparing feature or vector representations under a similarity or distance measure.
- agentic RAGincludes · Agentic RAG is a retrieval-augmented generation approach in which an agent dynamically decides how and when to retrieve information, often iterating or using tools before generating a response.
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.

