Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 839 Bytes

generative-ai.tasktype.md

File metadata and controls

25 lines (17 loc) · 839 Bytes

Home > @google/generative-ai > TaskType

TaskType enum

Task type for embedding content.

Signature:

export declare enum TaskType 

Enumeration Members

Member Value Description
CLASSIFICATION "CLASSIFICATION"
CLUSTERING "CLUSTERING"
RETRIEVAL_DOCUMENT "RETRIEVAL_DOCUMENT"
RETRIEVAL_QUERY "RETRIEVAL_QUERY"
SEMANTIC_SIMILARITY "SEMANTIC_SIMILARITY"
TASK_TYPE_UNSPECIFIED "TASK_TYPE_UNSPECIFIED"