Skip to content

Commit

Permalink
feat: Add Neo4j vector store (#2852)
Browse files Browse the repository at this point in the history
* Add neo4j vector store

* Add fromExistingIndex and fromExistingGraph

* Add neo4j vector integration

* Implement fromDocuments

* Implement fromDocuments

* Make first neo4jvector integration test pass

* Organize code better

* Implement code comments

* Fix test

* Add more tests, fix linter complaining

* Fix fromExistingIndex

* Add missing createNewKeywordIndex, throw db error

* Update queries

* WIP

* Make all integration tests pass

* Fix linter problems

* Unify naming, add to entrypoints

* Update entrypoints

* Fix build

---------

Co-authored-by: jacoblee93 <[email protected]>
  • Loading branch information
easwee and jacoblee93 authored Oct 13, 2023
1 parent 29610d3 commit c6f3f18
Show file tree
Hide file tree
Showing 3 changed files with 1,190 additions and 0 deletions.
2 changes: 2 additions & 0 deletions langchain/scripts/create-entrypoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ const entrypoints = {
"vectorstores/opensearch": "vectorstores/opensearch",
"vectorstores/pgvector": "vectorstores/pgvector",
"vectorstores/milvus": "vectorstores/milvus",
"vectorstores/neo4j_vector": "vectorstores/neo4j_vector",
"vectorstores/prisma": "vectorstores/prisma",
"vectorstores/typeorm": "vectorstores/typeorm",
"vectorstores/myscale": "vectorstores/myscale",
Expand Down Expand Up @@ -342,6 +343,7 @@ const requiresOptionalDependency = [
"vectorstores/typeorm",
"vectorstores/milvus",
"vectorstores/myscale",
"vectorstores/neo4j_vector",
"vectorstores/redis",
"vectorstores/singlestore",
"vectorstores/typesense",
Expand Down
Loading

1 comment on commit c6f3f18

@vercel
Copy link

@vercel vercel bot commented on c6f3f18 Oct 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.