CohereLLM Objects
__init__
name
(Optional[str]
): The name of the Cohere model to use can also be set via the COHERE_CHAT_MODEL_NAME environment variable.cohere_api_key
(Optional[str]
): The API key for the Cohere client. Can also be set via the COHERE_API_KEY environment variable.
__call__
messages
(List[Message]
): The messages to pass to the Cohere client.
str
: The response from the Cohere client.