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