TextEmbedder class final
Extracts vector embeddings from input text.
Properties
Methods
-
close(
) → Future< void> - Releases native, web, and isolate resources owned by this task.
-
embed(
String text, {TextEmbedderFormatContext? formatContext}) → Future< EmbeddingResult> -
Extracts embeddings from
text. -
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
Static Methods
-
create(
TextEmbedderOptions options, {TextRuntime? runtime}) → Future< TextEmbedder> -
Creates an embedder using
runtime, or the active platform adapter.