Discover Amazon Bedrock models here
Get started with Amazon Bedrock
Configuration
config.yaml
Check out a more advanced configuration here
How to Enable Prompt Caching with Amazon Bedrock
Bedrock allows Claude models to cache tool payloads, system messages, and chat messages between requests. Enable this behavior by addingpromptCaching: true
under defaultCompletionOptions
in your model
configuration.
config.yaml
How to Set Up Authentication for Amazon Bedrock
Authentication will be through temporary or long-term credentials in~/.aws/credentials
under a configured profile (e.g. “bedrock”).
accessKeyId
and secretAccessKey
for authentication instead of a local credentials profile.
config.yaml
How to Configure Custom Imported Models with Amazon Bedrock
To setup Bedrock using custom imported models, add the following to your config file:config.yaml