Usage guide
Setup, environment variables, and Python/JavaScript/Go usage examples.
MistralAILLM
Text generation with Mistral’s models, using your own Mistral key. Good for multilingual conversational agents with tool calling. Authenticates with MISTRALAI_API_KEY from your environment, or an explicitapi_key.
Fields
Mistral model name, e.g. “mistral-small-latest” or “mistral-medium-latest”. Defaults to ‘mistral-small-latest’.
Base URL of the Mistral API. Change it only when routing through a proxy or compatible endpoint. Defaults to ‘https://api.mistral.ai/v1’.
Sampling temperature. Lower values give more focused, repeatable replies. Defaults to 0.7.
How the model may call tools: “auto” lets it decide, “required” forces a tool call, “none” disables tools. Defaults to ‘auto’.