BackendEmbeddingsSupport class abstract

Optional backend capability for reporting whether BackendEmbeddings is actually available for the active runtime.

This is useful for delegating/router backends where the wrapper may expose embedding methods but support depends on the selected concrete backend. Backends that do not implement this interface fall back to the structural is BackendEmbeddings check used by older versions.

Constructors

BackendEmbeddingsSupport()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportsEmbeddings bool
Whether embedding calls are expected to be supported by this backend.
no setter

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