TaskType Enumeration
Specifies the type of task for which the embedding will be used.
Namespace: GenerativeAI.TypesAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
TASK_TYPE_UNSPECIFIED | 0 |
Unset value, which will default to one of the other enum values.
|
RETRIEVAL_QUERY | 1 |
Specifies the given text is a query in a search/retrieval setting.
|
RETRIEVAL_DOCUMENT | 2 |
Specifies the given text is a document from the corpus being searched.
|
SEMANTIC_SIMILARITY | 3 |
Specifies the given text will be used for STS (Semantic Text Similarity).
|
CLASSIFICATION | 4 |
Specifies that the given text will be classified.
|
CLUSTERING | 5 |
Specifies that the embeddings will be used for clustering.
|
QUESTION_ANSWERING | 6 |
Specifies that the given text will be used for question answering.
|
FACT_VERIFICATION | 7 |
Specifies that the given text will be used for fact verification.
|