updated the import for cohere llm (#696)

This commit is contained in:
Taradepan R
2024-06-04 12:02:23 +05:30
committed by GitHub
parent ea893432e8
commit 2a0e21ca76

View File

@@ -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()