From df13045b2c79f2977a7a2c0a1ed4c21f15b08f2d Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 4 Sep 2024 07:24:50 +0800 Subject: feat: add siliconflow client (#831) --- config.example.yaml | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'config.example.yaml') diff --git a/config.example.yaml b/config.example.yaml index 67f2f44..99db566 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -109,7 +109,7 @@ clients: # See https://platform.openai.com/docs/quickstart - type: openai api_base: https://api.openai.com/v1 # Optional - api_key: sk-xxx + api_key: xxx organization_id: org-xxx # Optional # For any platform compatible with OpenAI's API @@ -149,7 +149,7 @@ clients: # See https://docs.anthropic.com/claude/reference/getting-started-with-the-api - type: claude api_base: https://api.anthropic.com/v1 # Optional - api_key: sk-ant-xxx + api_key: xxx # See https://docs.mistral.ai/ - type: openai-compatible @@ -172,13 +172,13 @@ clients: - type: openai-compatible name: perplexity api_base: https://api.perplexity.ai - api_key: pplx-xxx + api_key: xxx # See https://console.groq.com/docs/quickstart - type: openai-compatible name: groq api_base: https://api.groq.com/openai/v1 - api_key: gsk_xxx + api_key: xxx # See https://github.com/jmorganca/ollama - type: openai-compatible @@ -233,7 +233,7 @@ clients: - type: openai-compatible name: huggingface api_base: https://api-inference.huggingface.co/v1 - api_key: hf_xxx + api_key: xxx # See https://replicate.com/docs - type: replicate @@ -242,25 +242,25 @@ clients: # See https://cloud.baidu.com/doc/WENXINWORKSHOP/index.html - type: ernie api_key: xxx - secret_key: xxxx + secret_key: xxx # See https://help.aliyun.com/zh/dashscope/ - type: openai-compatible name: qianwen api_base: https://dashscope.aliyuncs.com/compatible-mode/v1 - api_key: sk-xxx + api_key: xxx # See https://platform.moonshot.cn/docs/intro - type: openai-compatible name: moonshot api_base: https://api.moonshot.cn/v1 - api_key: sk-xxx + api_key: xxx # See https://platform.deepseek.com/api-docs/ - type: openai-compatible name: deepseek api_base: https://api.deepseek.com - api_key: sk-xxx + api_key: xxx # See https://open.bigmodel.cn/dev/howuse/introduction - type: openai-compatible @@ -304,6 +304,12 @@ clients: api_base: https://text.octoai.run/v1 api_key: xxx + # See https://docs.siliconflow.cn/docs/getting-started + - type: openai-compatible + name: siliconflow + api_base: https://api.siliconflow.cn/v1 + api_key: xxx + # See https://docs.together.ai/docs/quickstart - type: openai-compatible name: together -- cgit v1.2.3