From 2e8e4c9b2de592f6f1b1d80b2673cbbfbd3cbea9 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Thu, 14 Sep 2023 14:57:20 -0700 Subject: [PATCH] docs --- docs/my-website/docs/providers/bedrock.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/my-website/docs/providers/bedrock.md b/docs/my-website/docs/providers/bedrock.md index 0660f06b2..08b72a484 100644 --- a/docs/my-website/docs/providers/bedrock.md +++ b/docs/my-website/docs/providers/bedrock.md @@ -34,8 +34,11 @@ Here's an example of using a bedrock model with LiteLLM | AI21 J2-Mid | `completion(model='bedrock/ai21.j2-mid', messages=messages)` | `os.environ['AWS_ACCESS_KEY_ID']`, `os.environ['AWS_SECRET_ACCESS_KEY']`, `os.environ['AWS_REGION_NAME']` | ### Troubleshooting -If creating a boto3 bedrock client fails litellm will retry pip installing boto3 on your system +If creating a boto3 bedrock client fails with `Unknown service: 'bedrock'` +Try re installing boto3 using the following commands ```shell pip install https://github.com/BerriAI/litellm/raw/main/cookbook/bedrock_resources/boto3-1.28.21-py3-none-any.whl pip install https://github.com/BerriAI/litellm/raw/main/cookbook/bedrock_resources/botocore-1.31.21-py3-none-any.whl -``` \ No newline at end of file +``` + +See Page 26 on [Amazon Bedrock User Guide](https://d2eo22ngex1n9g.cloudfront.net/Documentation/BedrockUserGuide.pdf) \ No newline at end of file