-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Return query vector #5778
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
base: main
Are you sure you want to change the base?
Return query vector #5778
Conversation
I previously wanted to only return the query vector when it was embedded locally, not when it was provided as-is in the request, but that was too complex. It's much more reliable to always return the query vector (when |
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.
Hey, everything looks good to me, but I think a file was not intended to be pushed?
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.
Huu, I think you were not supposed to push this file?
Pull Request
Related issue
Fixes #5779
What does this PR do?
When
retrieveVectors
is true, search should also return the vector of the query if it was embedded automatically.