EmbeddingService class

Dart-based embedding service Rust tokenizer + Flutter ONNX Runtime combination

Constructors

EmbeddingService()

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 Properties

debugMode bool
Debug mode flag
getter/setter pair

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