ComfyUI Node
Griptape Prompt Driver: Anthropic
Griptape Driver
Griptape Prompt Driver: Anthropic
- DRIVER
◄modelclaude-3-5-sonnet-latest►
◄max_attempts_on_fail2►
◄temperature0.10►
◄seed10342349342►
◄use_native_toolstrue►
◄max_tokens-1►
◄top_k250►
◄api_key_env_varANTHROPIC_API_KEY►
◄top_p1.00►
CategoryGriptape/Agent Drivers/Prompt
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| modelopt | COMBO | claude-3-5-sonnet-latest | Select the model you want to use from the available options. |
| max_attempts_on_failopt | INT | 21–100 | Maximum attempts on failure |
| temperatureopt | FLOAT | 0.100–1 | Temperature for sampling |
| 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. |
| top_kopt | INT | 2500–500 | Limits the number of tokens considered for each step of the generation. Prevents the model from focusing too narrowly on the top choices. |
| api_key_env_varopt | STRING | ANTHROPIC_API_KEY | Enter the name of the environment variable for your ANTHROPIC_API_KEY key, not your actual key. |
| top_popt | FLOAT | 1.000–1 | Controls the cumulative probability distribution cutoff. The model will only consider the top p% most probable tokens. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| DRIVER | PROMPT_DRIVER | — |