Skip to main content

Chat Models

ChatModels are a core component of LangChain.

LangChain does not serve its own ChatModels, but rather provides a standard interface for interacting with many different models. To be specific, this interface is one that takes as input a list of messages and returns a message.

There are lots of model providers (OpenAI, Cohere, Hugging Face, etc) - the ChatModel class is designed to provide a standard interface for all of them.

Quick Start

Check out this quick start to get an overview of working with ChatModels, including all the different methods they expose


For a full list of all LLM integrations that LangChain provides, please go to the Integrations page

How-To Guides

We have several how-to guides for more advanced usage of LLMs. This includes:

Help us out by providing feedback on this documentation page: