diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-30 07:07:09 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-30 07:07:09 +0800 |
| commit | 50eac8b59409f73655fc2b8cf8d783c6347209c3 (patch) | |
| tree | a38a4b2bd8b60f743024f3bd5139dae3bb1d5fb2 /config.example.yaml | |
| parent | 4d4a100fe6fcde7ca3afcf7971ac387d355349eb (diff) | |
| download | aichat-50eac8b59409f73655fc2b8cf8d783c6347209c3.tar.gz | |
feat: support replicate client (#466)
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/config.example.yaml b/config.example.yaml index f838d04..ebf59ae 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -101,16 +101,21 @@ clients: # Optional field, possible values: BLOCK_NONE, BLOCK_ONLY_HIGH, BLOCK_MEDIUM_AND_ABOVE, BLOCK_LOW_AND_ABOVE block_threshold: BLOCK_ONLY_HIGH - - type: cloudflare - account_id: xxx # ENV: {client_name}_ACCOUNT_ID - api_key: xxx # ENV: {client_name}_API_KEY - # See https://docs.aws.amazon.com/bedrock/latest/userguide/ - type: bedrock access_key_id: xxx # ENV: {client_name}_ACCESS_KEY_ID secret_access_key: xxx # ENV: {client_name}_SECRET_ACCESS_KEY region: xxx # ENV: {client_name}_REGION + # See https://developers.cloudflare.com/workers-ai/ + - type: cloudflare + account_id: xxx # ENV: {client_name}_ACCOUNT_ID + api_key: xxx # ENV: {client_name}_API_KEY + + # See https://replicate.com/docs + - type: replicate + api_key: xxx # ENV: {client_name}_API_KEY + # See https://cloud.baidu.com/doc/WENXINWORKSHOP/index.html - type: ernie api_key: xxx # ENV: {client_name}_API_KEY |
