Mistral AI 是一个为其强大的开源模型提供托管服务的平台。
安装和设置
需要有效的 API 密钥 才能与 API 通信。 你还需要langchain-mistralai 包:
聊天模型
ChatMistralAI
查看 使用示例。嵌入模型
MistralAIEmbeddings
查看 使用示例。Connect these docs to Claude, VSCode, and more via MCP for real-time answers.
使用 LangChain Python 与 MistralAI 集成。
Mistral AI 是一个为其强大的开源模型提供托管服务的平台。
langchain-mistralai 包: