Skip to content

Commit c761ead

Browse files
committed
edit comments
1 parent 963b636 commit c761ead

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

samples/managed-llm/compose.dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
extends:
88
file: compose.yaml
99
service: llm
10-
# if using AWS for local development, include this section::
10+
# if using AWS Bedrock for local development, include this section:
1111
environment:
1212
- AWS_REGION=${AWS_REGION} # replace with your AWS region
1313
- AWS_PROFILE=${AWS_PROFILE} # replace with your AWS profile name

samples/managed-llm/compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
environment:
1010
- ENDPOINT_URL=http://llm/api/v1/chat/completions # endpoint to the gateway service
1111
- MODEL=anthropic.claude-3-haiku-20240307-v1:0 # LLM model ID used for the gateway
12-
- OPENAI_API_KEY=FAKE_TOKEN # this value will be ignored in production when using the gateway
12+
- OPENAI_API_KEY=FAKE_TOKEN # the actual value will be ignored when using the gateway, but it should match the one in the llm service
1313
healthcheck:
1414
test: ["CMD", "python3", "-c", "import sys, urllib.request; urllib.request.urlopen(sys.argv[1]).read()", "http://localhost:8000/"]
1515
interval: 30s
@@ -28,9 +28,9 @@ services:
2828
protocol: tcp
2929
mode: host
3030
environment:
31-
- OPENAI_API_KEY=FAKE_TOKEN
31+
- OPENAI_API_KEY=FAKE_TOKEN # this value must match the one in the app service
3232
- USE_MODEL_MAPPING=false
3333
- DEBUG=true
34-
# if using GCP for BYOC, include these environment variables too:
34+
# if using GCP for BYOC deployment, add these environment variables:
3535
# - GCP_PROJECT_ID=${GCP_PROJECT_ID}
3636
# - GCP_REGION=${GCP_REGION}

0 commit comments

Comments
 (0)