Cinnamon / kotaemon

An open-source RAG-based tool for chatting with your documents.
https://cinnamon.github.io/kotaemon/
Apache License 2.0
16.51k stars 1.27k forks source link

[REQUEST] - Integrate another GraphRAG backend #243

Closed gusye1234 closed 1 week ago

gusye1234 commented 2 months ago

Reference Issues

No response

Summary

I'm wondering, do the core dev team consider integrating another GraphRAG? I'm the author of the nano-graphrag. nano-graphrag uses much less code to implement nearly the same functionality of the official GraphRAG and requires much more less deps. It supports extensions like ollama, faiss, milvus and more pythonic and portable.
If the core dev is open to integrate another GraphRAG backend, I hope I can push a PR about integrating nano-graphrag. Looking forward to the response!

Basic Example

Add a pipeline like the GraphRAG in here: libs/ktem/ktem/index/file/graph/pipelines.py

Drawbacks

Maybe affect the indexing performance in some ways, since nano-graphrag is not exactly the same as the official one

Additional information

No response

taprosoft commented 3 weeks ago

@gusye1234 sorry for our late response. I briefly check the nano-graphrag implementation and it looks great! Planning to do this ourselves but we are glad if you can help us :D

gusye1234 commented 3 weeks ago

Cool, let me know if anything I could help❤️.

taprosoft commented 1 week ago

https://github.com/Cinnamon/kotaemon/releases/tag/v0.7.4