update docs

This commit is contained in:
chezsmithy 2024-08-14 17:58:38 -07:00
parent b5fbb98278
commit 48353e651d
2 changed files with 34 additions and 5 deletions

View file

@ -1,4 +1,4 @@
# AWS Bedrock
# AWS Bedrock
To setup Bedrock, add the following to your `config.json` file:
@ -9,18 +9,19 @@ To setup Bedrock, add the following to your `config.json` file:
"title": "Bedrock: Claude 3 Sonnet",
"provider": "bedrock",
"model": "anthropic.claude-3-sonnet-20240229-v1:0",
"region": "us-east-1"
"region": "us-east-1",
"profile": "bedrock",
}
]
}
```
Authentication will be through temporary or long-term credentials in
~/.aws/credentials under a profile called "bedrock".
Authentication will be through temporary or long-term credentials in
~/.aws/credentials under a configured profile (e.g. "bedrock").
```title="~/.aws/credentials
[bedrock]
aws_access_key_id = abcdefg
aws_secret_access_key = hijklmno
aws_session_token = pqrstuvwxyz # Optional: means short term creds.
aws_session_token = pqrstuvwxyz # Optional: means short term creds.
```

View file

@ -0,0 +1,28 @@
# AWS Bedrock Custom Imported Models
To setup Bedrock using custom imported models, add the following to your `config.json` file:
```json title="~/.continue/config.json"
{
"models": [
{
"title": "AWS Bedrock deepseek-coder-6.7b-instruct",
"provider": "bedrockimport",
"model": "deepseek-coder-6.7b-instruct",
"modelArn": "arn:aws:bedrock:us-west-2:XXXXX:imported-model/XXXXXX",
"region": "us-west-2",
"profile": "bedrock"
}
]
}
```
Authentication will be through temporary or long-term credentials in
~/.aws/credentials under a configured profile (e.g. "bedrock").
```title="~/.aws/credentials
[bedrock]
aws_access_key_id = abcdefg
aws_secret_access_key = hijklmno
aws_session_token = pqrstuvwxyz # Optional: means short term creds.
```