Integrations · Class
ChatCohere
ChatCohere connects LangChain Python to Cohere chat models. Install langchain-cohere, provide a Cohere API key, and send LangChain messages to the model.
Last updated
Syntax
ChatCohere(cohere_api_key=...); chat.invoke(messages)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
HumanMessageChatModelinvokeainvokelangchain-cohereCOHERE_API_KEY