HKUDS / LightRAG

"LightRAG: Simple and Fast Retrieval-Augmented Generation"
https://arxiv.org/abs/2410.05779
MIT License
6.48k stars 697 forks source link

Can we use external Vector databases and Knowledge graphs other than storing in the json formats? #42

Closed ashishjaddu closed 1 week ago

ashishjaddu commented 1 week ago

Can we use external Vector databases and Knowledge graphs like Pinecone, Neo4j, etc for storing these graphs and embeddings?

LarFii commented 1 week ago

Thanks for your attention. We currently don’t offer support for external vector databases, but you can definitely try integrating them.

ashishjaddu commented 1 week ago

In order to integrate them, If I play around with the Step codes in reproduce folder would that be enough?

LarFii commented 1 week ago

No, that won’t be enough. If you want to use a different vector database, you’ll need to modify storage.py, which is quite a big task. However, after inserting, the resulting graph can be imported into Neo4j. We will be providing support for this in the next couple of days.