cohere_chat
Send messages to Cohere Command models with optional system preamble and conversation history to generate responses.
Instructions
Chat with a Cohere Command model. Supports system preamble and conversation history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Cohere API key | |
| message | Yes | User message | |
| model | No | Model ID (default: command-r-plus) | |
| preamble | No | System prompt / preamble | |
| chat_history | No | JSON array of prior messages [{role, message}] | |
| max_tokens | No | ||
| temperature | No |