EmbeddingInstallation class

Result of embedding model installation

Constructors

EmbeddingInstallation({required EmbeddingModelSpec spec, ModelRuntimeDefaults? runtime, List<String> notes = const []})

Properties

hashCode → int
The hash code for this object.
no setterinherited
modelId → String
Model ID (filename without extension)
no setter
notes → List<String>
Advisory notes surfaced by the Hugging Face resolver (platform caveats, known issues) when installed with fromHuggingFace; empty for every other source. Also written to the debug log at install time; read them here in a release build. Unmodifiable — the constructor wraps whatever the resolver handed over, so this never aliases a list a resolver still holds.
final
runtime → ModelRuntimeDefaults?
Overridable runtime defaults from the Hugging Face resolver when installed with fromHuggingFace; null for every other source. Pass them as FlutterEdgeAi.getActiveEmbedder(defaults:). Not persisted.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spec → EmbeddingModelSpec
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