Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 639 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 639 Bytes

Adaptive RAG

Adaptive RAG is a strategy for RAG that unites (1) query analysis with (2) active / self-corrective RAG.

In the paper, they report query analysis to route across:

  • No Retrieval
  • Single-shot RAG
  • Iterative RAG

Let's build on this using LangGraph.

In our implementation, we will route between:

  • Web search: for questions related to recent events
  • Self-corrective RAG: for questions related to our index

1723478126992