Enum GeminiEmbedTaskType
Type of task for which the embedding will be used.
public enum GeminiEmbedTaskType
- Extension Methods
Fields
[EnumMember(Value = "CLASSIFICATION")] Classification = 4
Specifies that the given text will be classified.
[EnumMember(Value = "CLUSTERING")] Clustering = 5
Specifies that the embeddings will be used for clustering.
[EnumMember(Value = "FACT_VERIFICATION")] FactVerification = 7
Specifies that the given text will be used for fact verification.
[EnumMember(Value = "QUESTION_ANSWERING")] QuestionAnswering = 6
Specifies that the given text will be used for question answering.
[EnumMember(Value = "RETRIEVAL_DOCUMENT")] RetrievalDocument = 2
Specifies the given text is a document from the corpus being searched.
[EnumMember(Value = "RETRIEVAL_QUERY")] RetrievalQuery = 1
Specifies the given text is a query in a search/retrieval setting.
[EnumMember(Value = "SEMANTIC_SIMILARITY")] SemanticSimilarity = 3
Specifies the given text will be used for STS.
[EnumMember(Value = "TASK_TYPE_UNSPECIFIED")] Unspecified = 0
Unset value.