Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use Mistral AI models.
export MISTRAL_API_KEY="..."
pip install mistralai
from definable.model.mistral import MistralChat from definable.model.message import Message model = MistralChat(id="mistral-large-latest") response = model.invoke( messages=[Message(role="user", content="Hello!")], assistant_message=Message(role="assistant", content=""), ) print(response.content)
agent = Agent(model="mistral/mistral-large-latest")
MISTRAL_API_KEY
from definable.model.mistral import MistralChat