Amazon Bedrock
Amazon Bedrock provides access to a variety of foundation models (FMs) from leading AI providers through a fully managed AWS service.
Sample configuration
The following example shows a starting llm parameter configuration you can use when you Start a conversational AI agent.
Key parameters
llmrequired
- url stringrequired
The Amazon Bedrock runtime endpoint for the target region and model. See Amazon Bedrock endpoints and quotas for the correct endpoint format.
- api_key stringnullable
Your Bedrock API key for authentication. Use either
api_keyalone, or bothaccess_keyandsecret_keytogether for authentication. - access_key stringnullable
Your AWS Access Key ID for authenticating Bedrock API calls. Required if not using
api_key. Must be used together withsecret_key. Get your access key from the AWS IAM Console. - secret_key stringnullable
Your AWS Secret Access Key for authenticating Bedrock API calls. Required if not using
api_key. Must be used together withaccess_key. Get your secret key from the AWS IAM Console. - region stringrequired
The AWS region hosting the Bedrock model, for example,
us-east-1orus-west-2. See Supported Regions and models for available regions. - style stringrequired
The API style to use. Set to
bedrockfor Amazon Bedrock models.
For advanced configuration options, model capabilities, and detailed parameter descriptions, see the Amazon Bedrock documentation.