HKUDS/MiniRAG

"MiniRAG: Making RAG Simpler with Small and Open-Sourced Language Models"

54
/ 100
Established

Constructs a semantic-aware heterogeneous graph combining text chunks and named entities to reduce dependency on complex semantic understanding, then retrieves knowledge via lightweight topology-aware graph traversal rather than dense embeddings. Supports 10+ graph databases (Neo4j, PostgreSQL, TiDB) and achieves comparable performance to LLM-based RAG with 75% less storage while running small models like Phi-3.5-mini and Qwen2.5-3B on-device.

1,775 stars.

No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 22 / 25

How are scores calculated?

Stars

1,775

Forks

233

Language

Python

License

MIT

Last pushed

Oct 16, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/HKUDS/MiniRAG"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.