Chat models
Chat models are language models that use a sequence of messages as inputs and return messages as outputs (as opposed to using plain text). These are generally newer models.
info
If you'd like to write your own chat model, see this how-to. If you'd like to contribute an integration, see Contributing integrations.
Featured Providersโ
info
While all these LangChain classes support the indicated advanced feature, you may have to open the provider-specific documentation to learn which hosted models or backends support the feature.
Provider | Tool calling | Structured output | JSON mode | Local | Multimodal | Package |
---|---|---|---|---|---|---|
ChatAnthropic | โ | โ | โ | โ | โ | langchain-anthropic |
ChatMistralAI | โ | โ | โ | โ |