EmbeddingModel enum
Enum for available embedding models, following the same pattern as Model enum
Values
- embeddingGemma300M → const EmbeddingModel
-
const EmbeddingModel(url: 'https://huggingface.co/google/embeddinggemma-300m/resolve/main/model.tflite', tokenizerUrl: 'https://huggingface.co/googl…
- embeddingGemma300M8bit → const EmbeddingModel
-
const EmbeddingModel(url: 'https://huggingface.co/google/embeddinggemma-300m-8bit/resolve/main/model.tflite', tokenizerUrl: 'https://huggingface.co/…
- embeddingGemma300M4bit → const EmbeddingModel
-
const EmbeddingModel(url: 'https://huggingface.co/google/embeddinggemma-300m-4bit/resolve/main/model.tflite', tokenizerUrl: 'https://huggingface.co/…
- embeddingGemma300M2bit → const EmbeddingModel
-
const EmbeddingModel(url: 'https://huggingface.co/google/embeddinggemma-300m-2bit/resolve/main/model.tflite', tokenizerUrl: 'https://huggingface.co/…
- gecko110M → const EmbeddingModel
-
const EmbeddingModel(url: 'https://huggingface.co/litert-community/Gecko-110m-en/resolve/main/gecko.tflite', tokenizerUrl: 'https://huggingface.co/l…
Properties
- dimension → int
-
final
- displayName → String
-
final
- filename → String
-
final
- 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 - needsAuth → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → String
-
final
- tokenizerFilename → String
-
final
- tokenizerUrl → String
-
final
- url → String
-
Enum fields
final
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
Constants
-
values
→ const List<
EmbeddingModel> - A constant List of the values in this enum, in order of their declaration.