LocalEmbeddingDatasource class

Web stub for LocalEmbeddingDatasource.

On web, ONNX Runtime and dart:io are unavailable. This no-op stub is resolved via conditional import so that the native implementation is never compiled into the JS bundle.

Constructors

LocalEmbeddingDatasource(dynamic dio)

Properties

hashCode → int
The hash code for this object.
no setterinherited
isModelDownloaded → Future<bool>
no setter
isReady → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
downloadModel({void onProgress(double progress)?}) → Future<void>
embed(String text) → Future<List<double>>
initialize() → Future<void>
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