BackendBatchEmbeddings class abstract
Optional backend capability for batching embedding requests.
- Inheritance
-
- Object
- BackendEmbeddings
- BackendBatchEmbeddings
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
embed(
int contextHandle, String text, {bool normalize = true}) → Future< List< double> > -
Generates a single embedding vector for
text.inherited -
embedBatch(
int contextHandle, List< String> texts, {bool normalize = true}) → Future<List< List< >double> > -
Generates embedding vectors for all
textsin order. -
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