What's New
Changed — September 2025
We refactored the RAG pipeline architecture to simplify the way responses are synthesized and remove unnecessary intermediate steps.
Key Updates
Repacker removed The
repackeris no longer defined as a standalone step in the pipeline. Context is now passed directly without a separate repacking process.Bundle step removed The
bundle()step andresponse_synthesis_bundlestate key have been eliminated. State variables (query,context, toggle flags, etc.) are now passed directly to downstream components.RAGState streamlined The
RAGStateno longer references or maintainsresponse_synthesis_bundle. This reduces overhead and makes state handling more explicit.ResponseSynthesizer refactored The
ResponseSynthesizerhas been reworked to use the stuff strategy (other available strategy includes stuff_preset and static_list), allowing it to directly consume the necessary inputs (query,context, and additional flags such asuse_knowledge_base). This makes the design more transparent and flexible.
Tutorials Affected
These changes apply to all tutorials that extend Your First RAG Pipeline:
Your First RAG Pipeline
Dynamic Step
Implement Semantic Routing
Adding Document References
Simple Guardrail
Query Transformation
Multimodal Input Handling
Caching
RAG with Dynamic Models
Last updated