You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Usage.md
+17
Original file line number
Diff line number
Diff line change
@@ -328,6 +328,23 @@ Your [application default credentials](https://cloud.google.com/docs/authenticat
328
328
329
329
If you do want to set explicit credentials then you can use the `GOOGLE_APPLICATION_CREDENTIALS` environment variable set to a path to a json credentials file.
330
330
331
+
#### Amazon Bedrock
332
+
333
+
To use Amazon Bedrock and its foundational models, add the below configuration:
334
+
335
+
```
336
+
[config] # in configuration.toml
337
+
model = "anthropic.claude-v2"
338
+
fallback_models="anthropic.claude-instant-v1"
339
+
340
+
[aws] # in .secrets.toml
341
+
bedrock_region = "us-east-1"
342
+
```
343
+
344
+
Note that you have to add access to foundational models before using them. Please refer to [this document](https://docs.aws.amazon.com/bedrock/latest/userguide/setting-up.html) for more details.
345
+
346
+
AWS session is automatically authenticated from your environment, but you can also explicitly set `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables.
347
+
331
348
### Working with large PRs
332
349
333
350
The default mode of CodiumAI is to have a single call per tool, using GPT-4, which has a token limit of 8000 tokens.
0 commit comments