ComfyUI Node
Griptape Prompt Driver: Amazon Bedrock
Griptape Driver
Griptape Prompt Driver: Amazon Bedrock
- DRIVER
◄modelanthropic.claude-3-5-sonnet-20240620-v1:0►
◄max_attempts_on_fail2►
◄temperature0.10►
◄seed10342349342►
◄use_native_toolstrue►
◄max_tokens100►
◄min_p0.10►
◄top_k40►
◄aws_access_key_id_env_varAWS_ACCESS_KEY_ID►
◄aws_secret_access_key_env_varAWS_SECRET_ACCESS_KEY►
◄aws_default_region_env_varAWS_DEFAULT_REGION►
CategoryGriptape/Agent Drivers/Prompt
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| modelopt | COMBO | anthropic.claude-3-5-sonnet-20240620-v1:0 | 7 options: anthropic.claude-3-5-sonnet-20240620-v1:0, anthropic.claude-3-opus-20240229-v1:0, anthropic.claude-3-sonnet-20240229-v1:0, anthropic.claude-3-haiku-20240307-v1:0, amazon.titan-text-premier-v1:0, amazon.titan-text-express-v1, +1 |
| 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 | 100 | Maximum tokens to generate. Amazon Bedrock tends to fail if this isn't given. |
| 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. |
| aws_access_key_id_env_varopt | STRING | AWS_ACCESS_KEY_ID | Enter the name of the environment variable for your AWS_ACCESS_KEY_ID, not your actual key. |
| aws_secret_access_key_env_varopt | STRING | AWS_SECRET_ACCESS_KEY | Enter the name of the environment variable for your AWS_SECRET_ACCESS_KEY, not your actual key. |
| aws_default_region_env_varopt | STRING | AWS_DEFAULT_REGION | Enter the name of the environment variable for your AWS_DEFAULT_REGION, not your actual region. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| DRIVER | PROMPT_DRIVER | — |