You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A string or series that provides the first value to compare. Both a BigFrames Series or a pandas Series are allowed.
1004
+
content2 (str | Series):
1005
+
A string or series that provides the second value to compare. Both a BigFrames Series or a pandas Series are allowed.
1006
+
endpoint (str, optional):
1007
+
Specifies the Vertex AI endpoint to use for the text embedding model.
1008
+
If you specify the model name, such as `'text-embedding-005'`, rather than a URL, then BigQuery ML automatically identifies the model and uses the model's full endpoint.
1009
+
model (str, optional):
1010
+
Specifies a built-in text embedding model. The only supported value is the embeddinggemma-300m model.
1011
+
If you specify this parameter, you can't specify the `endpoint`, `model_params`, or `connection_id` parameters.
1012
+
model_params (Mapping[Any, Any], optional):
1013
+
Provides additional parameters to the model. You can use any of the parameters object fields.
1014
+
One of these fields, `outputDimensionality`, lets you specify the number of dimensions to use when generating embeddings.
1015
+
connection_id (str, optional):
1016
+
Specifies the connection to use to communicate with the model. For example, `myproject.us.myconnection`.
1017
+
1018
+
Returns:
1019
+
bigframes.series.Series: A new series of FLOAT64 values representing the cosine similarity.
0 commit comments