bigframes.bigquery.create_vector_index#

bigframes.bigquery.create_vector_index(table_id: str, column_name: str, *, replace: bool = False, index_name: str | None = None, distance_type='cosine', stored_column_names: Collection[str] = (), index_type: str = 'ivf', ivf_options: Mapping | None = None, tree_ah_options: Mapping | None = None, session: bigframes.session.Session | None = None) None[source]#

Creates a new vector index on a column of a table.

This method calls the CREATE VECTOR INDEX DDL statement.