From 183dc0344efce6665493e33317d9cd2b07e20f54 Mon Sep 17 00:00:00 2001 From: ZanSara Date: Wed, 17 Jan 2024 12:00:03 +0100 Subject: [PATCH] Update amazon-bedrock.md --- integrations/amazon-bedrock.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/amazon-bedrock.md b/integrations/amazon-bedrock.md index 479f327d..1c50725b 100644 --- a/integrations/amazon-bedrock.md +++ b/integrations/amazon-bedrock.md @@ -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)