ChatMistralAI features and configurations head to the API reference. The ChatMistralAI class is built on top of the Mistral API. For a list of all the models supported by Mistral, check out this page.
Overview
Integration details
Model features
Setup
To accessChatMistralAI models you’ll need to create a Mistral account, get an API key, and install the langchain-mistralai integration package.
Credentials
A valid API key is needed to communicate with the API. Once you’ve done this set the MISTRAL_API_KEY environment variable:Installation
The LangChain Mistral integration lives in thelangchain-mistralai package: