mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-09 06:53:59 +00:00
docs: Minor corrections and updates to Cohere docs (#22726)
- **Description:** Update the Cohere's provider and RagRetriever documentations with latest updates. - **Twitter handle:** Anirudh1810
This commit is contained in:
committed by
GitHub
parent
40b4a3de6e
commit
4da3d4b18e
@@ -111,7 +111,7 @@ class ChatCohere(BaseChatModel, BaseCohere):
|
||||
from langchain_community.chat_models import ChatCohere
|
||||
from langchain_core.messages import HumanMessage
|
||||
|
||||
chat = ChatCohere(model="command", max_tokens=256, temperature=0.75)
|
||||
chat = ChatCohere(max_tokens=256, temperature=0.75)
|
||||
|
||||
messages = [HumanMessage(content="knock knock")]
|
||||
chat.invoke(messages)
|
||||
|
Reference in New Issue
Block a user