From 50eac8b59409f73655fc2b8cf8d783c6347209c3 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 30 Apr 2024 07:07:09 +0800 Subject: feat: support replicate client (#466) --- config.example.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'config.example.yaml') 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 -- cgit v1.2.3