From 2a0e21ca76f744e6409271c53bd1de9cf63d9829 Mon Sep 17 00:00:00 2001 From: Taradepan R Date: Tue, 4 Jun 2024 12:02:23 +0530 Subject: [PATCH] updated the import for cohere llm (#696) --- docs/how-to/LLM-Connections.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to/LLM-Connections.md b/docs/how-to/LLM-Connections.md index 446530cd4f..fc5d6e446e 100644 --- a/docs/how-to/LLM-Connections.md +++ b/docs/how-to/LLM-Connections.md @@ -194,7 +194,7 @@ OPENAI_API_KEY=NA ### Cohere ```sh -from langchain_community.chat_models import ChatCohere +from langchain_cohere import ChatCohere # Initialize language model os.environ["COHERE_API_KEY"] = "your-cohere-api-key" llm = ChatCohere()