-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #4087: Add vector info procedures #4142
Conversation
@@ -7,6 +7,7 @@ note that the list and the signature procedures are consistent with the others, | |||
[opts=header, cols="1, 3"] | |||
|=== | |||
| name | description | |||
| apoc.vectordb.chroma.info(hostOrKey, collection, $config) | Get information about specified existing collection |
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.
Add information about the output when the collection does not exists (return null? throws error?)
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.
Added, i.e. throws an error if it does not exist
---- | ||
CALL apoc.vectordb.pinecone.info(hostOrKey, 'test-collection', {<optional config>}) | ||
---- | ||
|
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.
Output missing
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.
Added below
Fixes #4087
methodAndPayloadNull
method as a workaround, since we cannot explicit "method: GET" as setChunkedStreamingMode makes procedures throw a HTTP 405 Method Not Allowed,and by forcing
payload == null
we make sure that the procedure does not go here, and in this way it still has as default method "GET", which is the required method for all of them except the milvus oneapoc.vectordb.<vectorDbName>.info(hostOrKey, collection, $config)
proceduresOther changes
Refactoring: added some comments in extended/src/main/java/apoc/vectordb/VectorDbUtil.java