Model Online / On-Site
Duration
Modules 6 modules

Course Objective & Scope

Standard single-shot RAG runs one search and passes whatever comes back to the LLM. Yet complex enterprise queries—such as comparing termination clauses across multiple contracts and cross-checking them against live SLA tables—require decomposing the question, querying multiple sources (vector stores, SQL, APIs) and reformulating the search when initial results fall short.

This course covers Adaptive RAG, Corrective RAG (CRAG) and Self-RAG patterns, stateful retrieval loops with LangGraph and LlamaIndex Workflows, and strict step, token and latency controls.

Who Should Attend?

  • AI engineers building research and analysis assistants where single-shot RAG falls short
  • Software engineers and architects combining document search with SQL, APIs and internal tools
  • Data scientists working on advanced RAG and agentic workflows
  • Prerequisite: solid grasp of RAG fundamentals, tool calling and Python development

Key Takeaways

  • Route simple queries to fast single-shot RAG and complex queries to multi-step flows (Adaptive RAG)
  • Decompose multi-hop questions into parallel or sequential sub-queries
  • Implement document grading and query rewriting loops (Corrective RAG) when retrieval is weak
  • Unify vector search, lexical search, SQL and internal APIs as agent tools
  • Bound latency and token spend using step limits, budgets and early-stopping criteria

Curriculum

From Linear Pipelines to Cyclic Agentic RAG
  • Where single-shot retrieval breaks: comparative queries, multi-hop synthesis and underspecified requests
  • Unconstrained ReAct loops versus explicit state-graph orchestration
Query Planning, Decomposition and Source Routing
  • Parallel sub-query generation and sequential multi-hop retrieval
  • Routing across vector stores, relational databases and operational APIs
Corrective RAG (CRAG) and Self-RAG Patterns
  • Grading retrieved chunks for relevance and triggering query rewrites on low confidence
  • Self-reflection loops checking hallucination and answer completeness before returning
Building Stateful Agentic RAG with LangGraph
  • Graph state schemas, nodes, conditional edges and parallel Map-Reduce retrieval branches
  • Streaming intermediate progress updates to the user interface
Controlling Cost, Latency and Runaway Loops
  • Preventing infinite rewrite loops with max iterations, token budgets and fallback exits
  • Using fast small models (SLMs) for grading and routing steps to keep latency low
Hands-On: Multi-Source Enterprise Research Assistant
  • Building a LangGraph Agentic RAG flow combining documents and structured data
  • Benchmarking accuracy vs latency against standard single-shot RAG

Other Courses in This Category

Get in touch