summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-28 11:27:06 +0800
committerGitHub <noreply@github.com>2024-04-28 11:27:06 +0800
commit1f2b62670379a1a96bdc602cf38b38c71deb3f06 (patch)
treed2e4235b9097f73b9e4c77c9890f0f02eb375e63 /config.example.yaml
parent615bab215bdc7ba156b90d5bbfdd720e5ce430a2 (diff)
downloadaichat-1f2b62670379a1a96bdc602cf38b38c71deb3f06.tar.gz
feat: support bedrock client (#450)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.example.yaml b/config.example.yaml
index 9706dd6..cd08273 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -116,6 +116,12 @@ clients:
# Optional field, possible values: BLOCK_NONE, BLOCK_ONLY_HIGH, BLOCK_MEDIUM_AND_ABOVE, BLOCK_LOW_AND_ABOVE
block_threshold: BLOCK_ONLY_HIGH
+ # See https://docs.aws.amazon.com/bedrock/latest/userguide/
+ - type: bedrock
+ access_key_id: xxxxxxxxxxxxxxxxxxxx
+ secret_access_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+ region: xxx
+
# See https://cloud.baidu.com/doc/WENXINWORKSHOP/index.html
- type: ernie
api_key: xxxxxxxxxxxxxxxxxxxxxxxx