ComfyUI Node
Griptape Agent Config: Amazon Bedrock Drivers
Amazon Bedrock Prompt Driver.
Griptape Agent Config: Amazon Bedrock Drivers
- CONFIG
◄prompt_model_commentPrompt 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►
◄embedding_model_commentEmbedding Driver►
◄embedding_modelamazon.titan-text-premier-v1:0►
◄min_retry_delay2.00►
◄max_retry_delay10.00►
◄image_generation_model_commentImage Generation Driver►
◄image_generation_modelamazon.titan-image-generator-v1►
◄size512x512►
CategoryGriptape/Agent Configs
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt_model_commentopt | STRING | Prompt Driver | — |
| 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 | Set the 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. |
| embedding_model_commentopt | STRING | Embedding Driver | — |
| embedding_modelopt | COMBO | amazon.titan-text-premier-v1:0 | Select the embedding model to use. |
| min_retry_delayopt | FLOAT | 2.00 | Minimum retry delay |
| max_retry_delayopt | FLOAT | 10.00 | Minimum retry delay |
| image_generation_model_commentopt | STRING | Image Generation Driver | — |
| image_generation_modelopt | STRING | amazon.titan-image-generator-v1 | Select the image generation model to use. |
| sizeopt | COMBO | 512x512 | Choose the size of the generated image. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| CONFIG | CONFIG | — |