Skip to content

Commit

Permalink
Add session_token
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <[email protected]>
  • Loading branch information
dbwiddis committed Mar 28, 2024
1 parent d86d454 commit 0f3736d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions sample-templates/query-assist-agent-claude.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
}
],
"credential": {
"access_key": "<put your access key here>",
"secret_key": "<put your secret key here>"
"access_key": "<YOUR_ACCESS_KEY>",
"secret_key": "<YOUR_SECRET_KEY>",
"session_token": "<YOUR_SESSION_TOKEN>"
},
"parameters": {
"region": "us-west-2",
Expand Down
7 changes: 4 additions & 3 deletions sample-templates/query-assist-agent-claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ workflows:
nodes:
# This node (workflow step) creates the connector to the Claude model on Bedrock.
# To use a different model, you can update this node.
# Be sure to enter your keys in the credentials section, and change the region and endpoint if applicable.
# Be sure to enter your keys/token in the credentials section, and change the region and endpoint if applicable.
- id: create_claude_connector
type: create_connector
previous_node_inputs: {}
Expand All @@ -45,8 +45,9 @@ workflows:
action_type: predict
url: https://bedrock-runtime.us-west-2.amazonaws.com/model/anthropic.claude-instant-v1/invoke
credential:
access_key: "<put your access key here>"
secret_key: "<put your secret key here>"
access_key: "<YOUR_ACCESS_KEY>"
secret_key: "<YOUR_SECRET_KEY>"
session_token: "<YOUR_SESSION_TOKEN>"
parameters:
region: us-west-2
endpoint: bedrock-runtime.us-west-2.amazonaws.com
Expand Down

0 comments on commit 0f3736d

Please sign in to comment.