RetrievalBackend class abstract interface

One Universal Embedder on one runtime, and the Semantic Retrievers built on it, which share its worker so they can share its model.

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

dispose() → Future<void>
Waits for queued requests, closes the retrievers still open, then the embedder.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(Map<String, Object?> request) → Future<Object?>
Runs one request and returns the result as JSON-like values.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited