feat(firestore): Adding vector search#10548
Merged
bhshkh merged 12 commits intogoogleapis:mainfrom Jul 22, 2024
Merged
Conversation
jba
suggested changes
Jul 15, 2024
Contributor
|
Thanks for the extensive tests! |
jba
suggested changes
Jul 16, 2024
jba
suggested changes
Jul 17, 2024
jba
reviewed
Jul 18, 2024
cindy-peng
reviewed
Jul 19, 2024
cindy-peng
reviewed
Jul 19, 2024
jba
suggested changes
Jul 19, 2024
Contributor
jba
left a comment
There was a problem hiding this comment.
Very close! Some minor tweaks.
f93dcd4 to
b6f5f25
Compare
jba
approved these changes
Jul 22, 2024
0a13793 to
6db828c
Compare
cindy-peng
approved these changes
Jul 22, 2024
eliben
pushed a commit
to eliben/google-cloud-go
that referenced
this pull request
Jul 23, 2024
* feat(firestore): Adding vector search * feat(firestore): refactoring code * feat(firestore): Resolving vet failures * feat(firestore): Adding unit and integration tests * feat(firestore): Fixing tests and refactoring code * feat(firestore): Resolving vet failures * feat(firestore): Refactoring code * feat(firestore): Resolving review comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
b/346827360
Python and Nodejs already have support for vector search. More details can be found here
This PR introduces the same functionality in Go client library.
Sample Usage:
Save documents with vector field:
FindNearest query:
The above query will return Excelsa and Arabica beans
Major changes: