File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ def vector_search(
166
166
use_brute_force : bool = False ,
167
167
) -> dataframe .DataFrame :
168
168
"""
169
- Conduct vector search to earch embeddings to find semantically similar entities.
169
+ Conduct vector search which searches embeddings to find semantically similar entities.
170
170
171
171
**Examples:**
172
172
@@ -233,7 +233,7 @@ def vector_search(
233
233
Args:
234
234
base_table (str):
235
235
The table to search for nearest neighbor embeddings.
236
- column_to_search (groupby.SeriesGroupBy | groupby.DataFrameGroupBy ):
236
+ column_to_search (str ):
237
237
The name of the base table column to search for nearest neighbor embeddings.
238
238
The column must have a type of ``ARRAY<FLOAT64>``. All elements in the array must be non-NULL.
239
239
query (bigframes.dataframe.DataFrame | bigframes.dataframe.Series):
@@ -271,7 +271,7 @@ def vector_search(
271
271
raise ValueError (
272
272
"You can't specify query_column_to_search when query is a Series."
273
273
)
274
- # TODO(ashleyxu): ashleyxu. Support options in vector search. b/344019989
274
+ # TODO(ashleyxu): Support options in vector search. b/344019989
275
275
if fraction_lists_to_search is not None or use_brute_force is True :
276
276
raise NotImplementedError (
277
277
f"fraction_lists_to_search and use_brute_force is not supported. { constants .FEEDBACK_LINK } "
You can’t perform that action at this time.
0 commit comments