ChatMistralAI 기능과 설정에 대한 자세한 문서는 API reference를 참조하세요. ChatMistralAI class는 Mistral API를 기반으로 구축되었습니다. Mistral에서 지원하는 모든 모델 목록은 이 페이지를 확인하세요.
Overview
Integration details
| Class | Package | Local | Serializable | JS support | Downloads | Version |
|---|---|---|---|---|---|---|
| ChatMistralAI | langchain-mistralai | ❌ | beta | ✅ |
Model features
| Tool calling | Structured output | JSON mode | Image input | Audio input | Video input | Token-level streaming | Native async | Token usage | Logprobs |
|---|---|---|---|---|---|---|---|---|---|
| ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ |
Setup
ChatMistralAI 모델에 액세스하려면 Mistral 계정을 생성하고, API key를 받고, langchain-mistralai integration package를 설치해야 합니다.
Credentials
API와 통신하려면 유효한 API key가 필요합니다. 이 작업을 완료한 후 MISTRAL_API_KEY environment variable을 설정하세요:Installation
LangChain Mistral integration은langchain-mistralai package에 있습니다:
Instantiation
이제 model object를 인스턴스화하고 chat completion을 생성할 수 있습니다:Invocation
API reference
모든 attribute와 method에 대한 자세한 문서는 API reference를 참조하세요.Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.