Before you start
Using Amazon Bedrock incurs costs billed to your AWS account. See Amazon Bedrock pricing.
Setup
bedrock:InvokeModel
BEDROCK_API_KEY
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
ModelId
global.anthropic.claude-sonnet-5-5
ImageRegion
us-west-2
DefaultImageModelId
Each site property’s description in Service Center explains the accepted values.
Actions
BedrockConverse: sends a conversation to a Bedrock text model through the Converse API.
Messages
Role
user
assistant
DefaultModelId
SystemPrompt
Options
ApiKey
Text
StopReason
max_tokens
Usage
InputTokens
OutputTokens
TotalTokens
BedrockGenerateImage: generates an image with a Stability AI model.
Prompt
NegativePrompt
Width
Height
Seed
ImageData
Upgrading from 0.1.0
Set the site properties above. The old actions are renamed DEPRECATED_InvokeModel_* and call models that Amazon Bedrock has retired. Move to BedrockConverse and BedrockGenerateImage.
DEPRECATED_InvokeModel_*
BedrockConverse
BedrockGenerateImage
Current limitations
No file attachments in conversations, no streaming, and one image per call.
Demo
Install AWS Bedrock Connector Demo in a development environment to see the connector in use.
This component allows developers to use generative AI in their applications, connecting to a wide range of foundation models hosted on AWS.
The component allows to use the following foundation models:
Claude_v2
Anthropic's most powerful model, which excels at a wide range of tasks from sophisticated dialogue and creative content generation to detailed instruction following.
Titan
Titan Embeddings Generation 1 (G1) - Text is fast and cost-effective. Designed for fast responses, this model is an ideal choice for language processing tasks that require maximum affordability and less processing power.
StableDifusionXL
SDXL produces more detailed imagery and composition than its predecessor and represents an important step forward for Stability’s models.
To use this connector it is necessary to have an AWS Bedrock service activated in an account.
Using the AWS Bedrock service will have costs that will be billed in your AWS Account. Check the AWS pricing page.