Knowledge-graph RAG library for multi-hop QA — iterative retrieve-and-reason (IRCoT), graph retrieval, and cross-document enrichment at ingest. Production retrieval pipeline in Python.
-
Updated
Jul 10, 2026 - Python
Knowledge-graph RAG library for multi-hop QA — iterative retrieve-and-reason (IRCoT), graph retrieval, and cross-document enrichment at ingest. Production retrieval pipeline in Python.
Corrective RAG (CRAG) on Adaptive RAG over 140 cricket Wikipedia articles: gpt-4o-mini grades every retrieved passage 0/5/10, upper/lower thresholds give CORRECT / AMBIGUOUS / INCORRECT, and a second library is searched when retrieval falls short. Query router + RAG Fusion search + IRCoT. Held-out test: 0.75 → 0.90.
Agentic RAG over 140 cricket Wikipedia articles: a ReAct-style escalation ladder (Neo4j graph walk → IRCoT → Serper web search) where gpt-4o-mini decides only 'enough?', on CRAG grading with a fallback library, plus 6 Wikipedia record pages. Unseen test: GraphRAG 0.825 → 0.975, a third cheaper.
Self-RAG on Corrective RAG over 140 cricket Wikipedia articles: an 'are you sure?' check on the memory route, one candidate answer per passage, a gpt-4o-mini critic scoring support (IsSup) and usefulness (IsUse) to pick the best, and one retrieval retry. Tune 0.910 → 0.897: a weak critic costs more than it catches.
GraphRAG over 140 cricket Wikipedia articles: a Neo4j graph built by code for $0 (CricketMatch, CricketEntity, CricketChunk nodes; HELD_AT, PLAYER_OF_MATCH, TOP_BATTER, TOP_BOWLER edges), a bge-seeded 2-hop walk replacing IRCoT on multi-hop questions, linked grading in CRAG, IRCoT fallback. Tune 0.897 → 0.942.
Multi-hop Retrieval-Augmented Generation with query decomposition, iterative retrieval, and LLM-as-a-judge evaluation.
CPU-only reproduction of IRCoT's interleaved retrieval for multi-hop QA on MuSiQue and HotpotQA: bridge-entity re-querying, a learned stop controller, BM25 + bge-small hybrid retrieval, and Recall@k / EM / F1 with bootstrap intervals against one-shot and fixed-hop baselines.
Adaptive RAG over 140 cricket Wikipedia articles: a few-shot gpt-4o-mini router sends each question to no retrieval, one RAG Fusion search (dense + BM25 + SPLADE, RRF, LLM rerank) or an IRCoT loop (search → reason → search, ≤ 3). Held-out test: one search 0.81 → routed 0.94, chains 0.25 → 0.83, cheaper than always looping.
To associate your repository with the ircot topic, visit your repo's landing page and select "manage topics."