summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-09-04 07:24:50 +0800
committerGitHub <noreply@github.com>2024-09-04 07:24:50 +0800
commitdf13045b2c79f2977a7a2c0a1ed4c21f15b08f2d (patch)
tree3c3420a0b4c72125f6853a158fba4636e555884c /config.example.yaml
parent9654445c32e72865c6e3af32dc1e5a3dc411a593 (diff)
downloadaichat-df13045b2c79f2977a7a2c0a1ed4c21f15b08f2d.tar.gz
feat: add siliconflow client (#831)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml24
1 files changed, 15 insertions, 9 deletions
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