ComfyUI Node
Griptape Prompt Driver: Cohere
Griptape Driver
Griptape Prompt Driver: Cohere
- DRIVER
◄modelcommand-r-plus►
◄max_attempts_on_fail2►
◄seed10342349342►
◄use_native_toolstrue►
◄max_tokens-1►
◄min_p0.10►
◄top_k40►
◄cohere_api_key_env_varCOHERE_API_KEY►
CategoryGriptape/Agent Drivers/Prompt
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| modelopt | COMBO | command-r-plus | Select the Cohere model to use. |
| max_attempts_on_failopt | INT | 21–100 | Maximum attempts on failure |
| seedopt | INT | 10342349342 | Seed for random number generation |
| use_native_toolsopt | BOOLEAN | true | Use native tools for the LLM. |
| max_tokensopt | INT | -1 | Maximum tokens to generate. If <=0, it will use the default based on the tokenizer. |
| min_popt | FLOAT | 0.100–1 | Minimum probability for sampling. Lower values will be more random. |
| top_kopt | INT | 40 | Top k for sampling. Lower values are more deterministic. |
| cohere_api_key_env_varopt | STRING | COHERE_API_KEY | Environment variable for the Cohere API key. Do not use your actual API key directly. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| DRIVER | PROMPT_DRIVER | — |