Skip to content

Commit

Permalink
docs: update config example with bedrock
Browse files Browse the repository at this point in the history
  • Loading branch information
detunjiSamuel committed Jan 10, 2025
1 parent b5ee248 commit 6772194
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config-example.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
config-example:
yaml:
providers:
- key: azure-openai
type: azure
Expand All @@ -7,6 +9,13 @@ providers:
- key: openai
type: openai
api_key: "<your-openai-api-key>"
- key: bedrock
type: bedrock
api_key: ""# Not used for AWS Bedrock
region: "<your-aws-region>"
AWS_ACCESS_KEY_ID: "<your-aws-access-key>"
AWS_SECRET_ACCESS_KEY: "<your-aws-secret-key>"
AWS_SESSION_TOKEN: "<your-session-token>" # Optional

models:
- key: gpt-4o-openai
Expand All @@ -16,6 +25,11 @@ models:
type: gpt-4o
provider: azure-openai
deployment: "<your-deployment>"
- key: bedrock-model
# some models are region specific, it is a good idea to get ARN from cross region reference tab
type: "< model-id or Inference profile ARN or Inference profile ID>"
provider: bedrock
model_provider: "<model-provider>"#ai21 , titan , anthropic

pipelines:
- name: default
Expand Down

0 comments on commit 6772194

Please sign in to comment.