
Description
Microsoft's GraphRAG works well but its codebase is massive and hard to adapt. nano-graphrag is a simple, easy-to-hack GraphRAG implementation in around a thousand lines.
It keeps knowledge graph building and global and local retrieval, with swappable LLMs, vector stores and graph databases.
Small code:Easy to hack.
Knowledge graph:Entities and relations.
Retrieval:Global and local.
Swappable:Models and storage.
It keeps knowledge graph building and global and local retrieval, with swappable LLMs, vector stores and graph databases.
Features
Small code:Easy to hack.
Knowledge graph:Entities and relations.
Retrieval:Global and local.
Swappable:Models and storage.
