Home > @google/generative-ai > TaskType
Task type for embedding content.
Signature:
export declare enum TaskType
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" |