Report #68530
[frontier] Static retrieval strategy fails for complex queries requiring multi-hop reasoning or real-time data
Implement Adaptive RAG: use an LLM router to classify the query type \(factual/multi-hop/ambiguous\) and dynamically select the retrieval strategy \(vector search, web search, SQL, or no retrieval\) before generation.
Journey Context:
Different questions need different retrieval. Adaptive RAG uses a classifier node to route queries: 'factual' -> vector DB; 'multi-hop' -> web search \+ decomposition; 'ambiguous' -> clarifying question; 'structured' -> SQL. This prevents over-retrieval \(wasting tokens on web search for FAQ\) and under-retrieval \(using vector DB for real-time data\). The router is a small, fast LLM call that saves significant latency and cost downstream by matching strategy to query complexity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T21:30:41.503848+00:00— report_created — created