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
self, text: str, task_type: str="RETRIEVAL_QUERY", **kwargs: Any
@@ -54,6 +56,7 @@ def embed_query(
54
56
task_type (str): The type of the text embedding task. Defaults to "RETRIEVAL_QUERY". See https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/text-embeddings-api#tasktype for a full list.
55
57
**kwargs (Any): Additional keyword arguments to pass to the Vertex AI client's get_embeddings method.
0 commit comments