-
Notifications
You must be signed in to change notification settings - Fork 48
feat: support bigquery.vector_search()
#736
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
Conversation
02208aa
to
c36ba63
Compare
49b65e8
to
72f411f
Compare
72f411f
to
0cfa88a
Compare
bigframes/bigquery/__init__.py
Outdated
>>> import bigframes.bigquery as bbq | ||
>>> bpd.options.display.progress_bar = None | ||
|
||
DataFrame embeddings for which to find nearest neighbors: |
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.
Let's clarify here that the ARRAY<FLOAT>
column is used as the search query.
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.
Done
bigframes/bigquery/__init__.py
Outdated
<BLANKLINE> | ||
[4 rows x 4 columns] | ||
|
||
You can specify the name of the column in the query DataFrame embeddings and distance type: |
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.
Presumably query_column_to_search
is required in this case, right? Let's tell the user that if so. Or if not, what happens if they don't specify?
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.
done
0cfa88a
to
f2859f3
Compare
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes internal #344019437 🦕