Skip to content

Commit 225727e

Browse files
committed
Added Open Interpreter profile for Anthropic's Claude 3 Sonnet using Bedrock, including dependencies and configuration.
1 parent 16d2d9f commit 225727e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
"""
2+
This is an Open Interpreter profile. It configures Open Interpreter to run Anthropic's `Claude 3 Sonnet` using Bedrock.
3+
"""
4+
5+
"""
6+
Required pip package:
7+
pip install boto3>=1.28.57
8+
9+
Required environment variables:
10+
os.environ["AWS_ACCESS_KEY_ID"] = "" # Access key
11+
os.environ["AWS_SECRET_ACCESS_KEY"] = "" # Secret access key
12+
os.environ["AWS_REGION_NAME"] = "" # us-east-1, us-east-2, us-west-1, us-west-2
13+
14+
More information can be found here: https://docs.litellm.ai/docs/providers/bedrock
15+
"""
16+
17+
from interpreter import interpreter
18+
19+
interpreter.llm.model = "bedrock/anthropic.claude-3-sonnet-20240229-v1:0"
20+
21+
interpreter.computer.import_computer_api = True
22+
23+
interpreter.llm.supports_functions = True
24+
interpreter.llm.supports_vision = True
25+
interpreter.llm.context_window = 100000
26+
interpreter.llm.max_tokens = 4096

0 commit comments

Comments
 (0)