TaskType enum
Type of task for which the embedding will be used.
Values
- unspecified → const TaskType
-
Unset value, which will default to one of the other enum values.
const TaskType('TASK_TYPE_UNSPECIFIED')
- retrievalQuery → const TaskType
-
Specifies the given text is a query in a search/retrieval setting.
const TaskType('RETRIEVAL_QUERY')
- retrievalDocument → const TaskType
-
Specifies the given text is a document from the corpus being searched.
const TaskType('RETRIEVAL_DOCUMENT')
- semanticSimilarity → const TaskType
-
Specifies the given text will be used for STS.
const TaskType('SEMANTIC_SIMILARITY')
- classification → const TaskType
-
Specifies that the given text will be classified.
const TaskType('CLASSIFICATION')
- clustering → const TaskType
-
Specifies that the embeddings will be used for clustering.
const TaskType('CLUSTERING')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object - Convert to json format
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited