EmbeddingModelTarget class final
The pinned model an EmbeddingModelCache provides, and where it goes.
A host shows these facts before it asks to download: what is fetched (source, bytes), how it is checked (sha256) and where it is written (file).
Properties
- bytes → int
-
The exact size of the artifact.
no setter
- file → File
-
Where the verified model lives in the cache directory.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sha256 → String
-
The lowercase hexadecimal SHA-256 of the artifact.
no setter
- source → Uri
-
The immutable URL the bytes are downloaded from.
no setter
- spec → EmbeddingModelSpec
-
The pinned artifact, including its preprocessing contract.
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