EmbeddingModalityNotLoadedException class final

The input carries modality, which this model was not loaded with (loaded is what it was loaded with). Declare media at load: getActiveEmbedder(supportImage: true).

Inheritance

Constructors

EmbeddingModalityNotLoadedException(String message, {required EmbeddingModality modality, required Set<EmbeddingModality> loaded})
const

Properties

cause → Object?
The underlying error, when there is one. Not carried across the embedding worker boundary (it may not be sendable); there the message says it.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
loaded → Set<EmbeddingModality>
final
message → String
What happened, in words meant for a developer.
finalinherited
modality → EmbeddingModality
final
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