EmbeddingService class
Dart-based embedding service Rust tokenizer + Flutter ONNX Runtime combination
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
-
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
-
dispose(
) → void - Release resources
-
embed(
String text) → Future< List< double> > - Convert text to 384-dimensional embedding
-
embedBatch(
List< String> texts, {int concurrency = 1, void onProgress(int completed, int total)?}) → Future<List< List< >double> > - Batch embed multiple texts (sequential processing)
-
init(
Uint8List modelBytes) → Future< void> - Initialize ONNX model