1 comment

[ 3.1 ms ] story [ 4.7 ms ] thread
If your RAG retrieves the wrong chunks, your answer can be confidently wrong. And the LLM won't tell you.

I built a practical LangGraph implementation that makes the RAG system check its retrieval, correct it and retry when necessary.

Free version: https://github.com/ChandulaSenevirathna/Agentic_RAG

Advanced version: https://chandula7.gumroad.com/l/Advanced_RAG_LangGraph_Patte...

The advanced version includes Corrective RAG, Adaptive RAG, Human-in-the-Loop, Multi-Agent Supervisor, Parallel Fan-Out and Plan-and-Execute patterns.