SciPhi-AI / R2R

The Elasticsearch for RAG. Build, scale, and deploy state of the art Retrieval-Augmented Generation applications
https://r2r-docs.sciphi.ai/
MIT License
3.26k stars 238 forks source link

Integration with neo4j vector index #601

Open jexp opened 2 months ago

jexp commented 2 months ago

It's great that neo4j is already your KG provider, not sure if you're aware of but Neo4j added vector indexing and search (HNSW) last summer. So you can do everything with one provider and don't need to set up two.

LMK if you have any questions, we're happy to help with a PR.

It's also used in our LangChain, LlamaIndex, SpringAI, Haystack, Semantic Kernel, LangChain4j integrations.

See:

https://neo4j.com/labs/genai-ecosystem/vector-search/ https://neo4j.com/docs/cypher-manual/current/indexes/semantic-indexes/vector-indexes/ https://neo4j.com/developer-blog/neo4j-langchain-vector-index-implementation/

schoi80 commented 1 month ago

This implementation for postgres looks fairly straight-forward. It would be great to see VectorDatabaseProvider implementation for neo4j support here as well. I might take a stab at this (or happy to contribute if @jexp has already started 😉)

emrgnt-cmplxty commented 3 weeks ago

Circling back on this, the codebase is more stable now so we'd love to see this integrated! It would be best to start work on this with the major revisions we are rolling into the V3 - https://github.com/SciPhi-AI/R2R/pull/877