Skip to main content

Module embeddings

Module embeddings 

Source
Expand description

Mistral embeddings client.

Rust equivalent of upstream’s MistralEmbeddingClient (agent_framework_mistral/_embedding_client.py): POST {base_url}/embeddings (https://api.mistral.ai/v1 by default), OpenAI-shaped request/response, default model mistral-embed. Response parsing is shared with agent-framework-openai.

Structs§

MistralEmbeddingClient
A Mistral embeddings client (POST {base_url}/embeddings).

Constants§

DEFAULT_EMBEDDING_MODEL
Upstream’s default Mistral embedding model.