Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 716 Bytes

File metadata and controls

17 lines (12 loc) · 716 Bytes

Mistral AI Examples

This folder contains examples demonstrating how to use Mistral AI models with the Agent Framework.

Examples

File Description
mistral_agent_basic.py Basic agent with tool usage using the Mistral AI chat client.
mistral_embeddings.py Basic embedding generation with the Mistral AI embedding client.

Environment Variables

  • MISTRAL_API_KEY: Your Mistral AI API key
  • MISTRAL_CHAT_MODEL: Chat model name (e.g., mistral-small-latest)
  • MISTRAL_EMBEDDING_MODEL: Embedding model name (e.g., mistral-embed)
  • MISTRAL_SERVER_URL (optional): Server URL override for custom deployments