-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fixes #4080: Add Pinecone and Milvus support #4088
Conversation
docs/asciidoc/modules/ROOT/pages/database-integration/vectordb/milvus.adoc
Show resolved
Hide resolved
docs/asciidoc/modules/ROOT/pages/database-integration/vectordb/milvus.adoc
Show resolved
Hide resolved
Get the vectors with the specified `ids`. | ||
The default endpoint is `<hostOrKey param>/vectors/fetch`. | ||
| apoc.vectordb.pinecone.query(hostOrKey, index, vector, filter, limit, $config) | | ||
Retrieve closest vectors the the defined `vector`, `limit` of results, in the index with the name specified in the 2nd parameter, and optionally creates/updates neo4j entities. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the last part of the description needs to be removed as this moved to the queryAndUpdate proc
[0.2, 0.1, 0.9, 0.7], | ||
{}, | ||
5, | ||
{ mapping: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
old mapping syntax
docs/asciidoc/modules/ROOT/pages/database-integration/vectordb/pinecone.adoc
Show resolved
Hide resolved
docs/asciidoc/modules/ROOT/pages/database-integration/vectordb/pinecone.adoc
Show resolved
Hide resolved
}) | ||
---- | ||
|
||
which populates the two relationships as: `()-[:TEST {myId: 'one', city: 'Berlin', vect: [vector1]}]-()` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how does it know from the mapping config that it is meant to update a relationship?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of relType: 'TEST'
mapping config, instead of nodeLabel: 'Test'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM please look at my comments for the query example with mapping + outdated syntax in dcos
…d added Milvus and Pinecone support (#4264) * [NOID] Fixes #4087: Add vector info procedures (#4142) * [NOID] Fixes #4080: Add Pinecone and Milvus support (#4088) * [NOID] Fixes #4231: The apoc.vectordb.milvus.query* and apoc.vectordb.weaviate.query* procedures should get the fields config from metadataKey if present (#4241) * Fixes #4231: The apoc.vectordb.milvus.query* and apoc.vectordb.weaviate.query* procedures should get the fields config from metadataKey if present * [NOID] Fixes #4231: The apoc.vectordb.milvus.query* and apoc.vectordb.weaviate.query* procedures should get the fields config from metadataKey if present (#4241) * Fixes #4231: The apoc.vectordb.milvus.query* and apoc.vectordb.weaviate.query* procedures should get the fields config from metadataKey if present
Fixes #4080
PineconeTest
toPineconeCustomTest
(which leverages theapoc.vectordb.custom*
procedures)collection
parameter to the VectorEmbeddingHandler.java method, which is used by the Milvus body request