TaskType enum
Task type for embedding generation, following Google RAG SDK convention.
EmbeddingGemma models are trained with different prefixes for queries and documents to improve retrieval quality.
Values
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - prefix → String
-
Canonical prefix prepended to user text before tokenization. Single
source of truth across all native platforms — fixes cross-platform
drift on
retrievalQuery(issue #264) by construction. The strings here match what iOS Swift used in 0.15.1 and earlier, so existing iOS-indexed corpora remain valid.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited