Vector Search v1 API - Enum EmbeddingTaskType (1.0.0-beta01)

public enum EmbeddingTaskType

Reference documentation and code samples for the Vector Search v1 API enum EmbeddingTaskType.

Represents the task the embeddings will be used for.

Namespace

Google.Cloud.VectorSearch.V1

Assembly

Google.Cloud.VectorSearch.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

Unspecified task type.