mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 08:38:30 +00:00
updated the import for cohere llm (#696)
This commit is contained in:
@@ -194,7 +194,7 @@ OPENAI_API_KEY=NA
|
|||||||
|
|
||||||
### Cohere
|
### Cohere
|
||||||
```sh
|
```sh
|
||||||
from langchain_community.chat_models import ChatCohere
|
from langchain_cohere import ChatCohere
|
||||||
# Initialize language model
|
# Initialize language model
|
||||||
os.environ["COHERE_API_KEY"] = "your-cohere-api-key"
|
os.environ["COHERE_API_KEY"] = "your-cohere-api-key"
|
||||||
llm = ChatCohere()
|
llm = ChatCohere()
|
||||||
|
|||||||
Reference in New Issue
Block a user