Amazon Bedrock

The resource bedrock-configuration configures access to the Amazon Bedrock models for embeddings and completions.

configuration.yaml

configuration:
  resources:
    - type: "bedrock-configuration"
      name: "Bedrock"
      configuration:
        access-key: "${secrets.bedrock.access-key}"
        secret-key: "${secrets.bedrock.secret-key}"
        region: "${secrets.bedrock.region}"

secrets.yaml

secrets:
  - id: bedrock
    data:
      access-key: "${BEDROCK_ACCESS_KEY}"
      secret-key: "${BEDROCK_SECRET_KEY}"
      region: "${BEDROCK_REGION}"

Configuration

Check out the full configuration properties in the API Reference page.

Last updated