EmbeddingsApi class

Logical Embeddings service contract. Tokenizer/model execution and native file handles remain adapter/backend-owned; C++ consumes only serialized request/result messages.

Constructors

EmbeddingsApi(RpcClient _client)

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

embed(ClientContext? ctx, EmbeddingsRequest request) Future<EmbeddingsResult>
One-shot embedding for a single text carried in EmbeddingsRequest.texts.
embedBatch(ClientContext? ctx, EmbeddingsRequest request) Future<EmbeddingsResult>
Batch embedding for multiple input texts carried in request order.
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