Skip to content

Commit

Permalink
Update amazon-bedrock.md (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanSara authored Jan 17, 2024
1 parent 9442841 commit 02873b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/amazon-bedrock.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ aws_access_key_id="..."
aws_secret_access_key="..."
aws_region_name="eu-central-1"

generator = AmazonBedrockGenerator(model_name="anthropic.claude-v2", aws_access_key_id=aws_access_key_id, aws_secret_access_key=aws_secret_access_key, aws_region_name=aws_region_name)
generator = AmazonBedrockGenerator(model="anthropic.claude-v2", aws_access_key_id=aws_access_key_id, aws_secret_access_key=aws_secret_access_key, aws_region_name=aws_region_name)
result = generator.run("Who is the best American actor?")
for reply in result["replies"]:
print(reply)
Expand Down

0 comments on commit 02873b2

Please sign in to comment.