FareedKhan-dev/14-rag-failures
Encountering 14 different Naive RAG fails and using KG to solve it
Implements 14 self-contained Jupyter notebooks that compare naive vector-based retrieval against Knowledge Graph solutions using LangChain, NetworkX, and TinyLlama. Each notebook simulates a specific failure mode—from multi-hop reasoning and causal synthesis to temporal sequences and centrality detection—demonstrating how graph traversal, edge directionality, and set operations solve reasoning problems that semantic similarity alone cannot address. The stack uses FAISS for embeddings, NetworkX for in-memory graph construction, and local LLM inference to ensure reproducibility on resource-constrained environments.
Stars
21
Forks
13
Language
Jupyter Notebook
License
MIT
Category
Last pushed
Dec 04, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/rag/FareedKhan-dev/14-rag-failures"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
bragai/bRAG-langchain
Everything you need to know to build your own RAG application
liu673/rag-all-techniques
Implementation of all RAG techniques in a simpler way(以简单的方式实现所有 RAG 技术)
guyernest/advanced-rag
Jupyter Notebooks for Mastering LLM with Advanced RAG Course
FareedKhan-dev/rag-ecosystem
Understand and code every important component of RAG architecture
Megaboy12346/complex-RAG-guide
Build a robust, production-ready RAG system with effective data preparation, anonymization, and...