Crig::Client::EmbeddingsClient(M)
Shared client mixin for embedding-capable providers. The builder helpers here are the most ergonomic way to construct embedding jobs.
Instance methods
Typed overload kept for parity with the Rust method-level generic call sites.
Start an embeddings builder from the provider's default dimensions for a model.
embeddings_with_ndims(type : D.class, model : String, ndims : Int32) : Crig::Embeddings::EmptyEmbeddingsBuilder(M) forall D
Typed overload kept for parity with the Rust method-level generic call sites.
Start an embeddings builder with explicit dimensions.