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