FareedKhan-dev/14-rag-failures

Encountering 14 different Naive RAG fails and using KG to solve it

39
/ 100
Emerging

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.

No Package No Dependents
Maintenance 6 / 25
Adoption 6 / 25
Maturity 9 / 25
Community 18 / 25

How are scores calculated?

Stars

21

Forks

13

Language

Jupyter Notebook

License

MIT

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.