Expand description
Mistral provider for llmsdk.
Rust port of @ai-sdk/mistral.
Implements two model surfaces: Chat Completions (MistralChatModel)
and Text Embeddings (MistralEmbeddingModel).
Structs§
- Mistral
- Mistral provider handle — entry point for model construction.
- Mistral
Builder - Builder for
Mistral. - Mistral
Chat Model - Mistral Chat Completions model handle.
- Mistral
Embedding Model - Mistral Embeddings model handle.
Constants§
- API_
KEY_ ENV_ VAR - Environment variable consulted when no explicit API key is given.
- DEFAULT_
BASE_ URL - Default base URL for the Mistral HTTP API.
- PROVIDER_
ID - Provider id reported via the
LanguageModel::providertrait method.