Vertex AI v1 API - Enum EmbedContentRequest.Types.EmbeddingTaskType (3.53.0)

public enum EmbedContentRequest.Types.EmbeddingTaskType

Reference documentation and code samples for the Vertex AI v1 API enum EmbedContentRequest.Types.EmbeddingTaskType.

Represents a downstream task the embeddings will be used for.

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Fields

Name Description
Classification

Specifies that the given text will be classified.

Clustering

Specifies that the embeddings will be used for clustering.

CodeRetrievalQuery

Specifies that the embeddings will be used for code retrieval.

FactVerification

Specifies that the embeddings will be used for fact verification.

QuestionAnswering

Specifies that the embeddings will be used for question answering.

RetrievalDocument

Specifies the given text is a document from the corpus being searched.

RetrievalQuery

Specifies the given text is a query in a search/retrieval setting.

SemanticSimilarity

Specifies the given text will be used for STS.

Unspecified

Unset value, which will default to one of the other enum values.