Embedding class final
Embedding runs in current isolate. Place it in another isolate if you want async embeddings.
Constructors
Properties
Methods
-
dispose(
) → void - Free context, model and memory objects in C world.
-
embedBatch(
List< String> prompts) → List<List< double> > - Embedding multiple prompts at one time.
-
embedSingle(
String prompt) → List< double> - Embedding one prompt at one time.
-
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