summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-12-19 20:37:53 +0800
committerGitHub <noreply@github.com>2023-12-19 20:37:53 +0800
commit6286251d320a7f512e49534c30b42452d30d93cc (patch)
treed2c08ea4ff1f48042666624ebbb821e3136854c5 /config.example.yaml
parent3adfeb1ae7c22e54570df69053aa3db226733384 (diff)
downloadaichat-6286251d320a7f512e49534c30b42452d30d93cc.tar.gz
feat: support gemini (#273)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml14
1 files changed, 9 insertions, 5 deletions
diff --git a/config.example.yaml b/config.example.yaml
index 8eae76b..847beca 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -19,7 +19,7 @@ clients:
# See https://platform.openai.com/docs/quickstart
- type: openai
- api_key: sk-xxx
+ api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
organization_id:
# See https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart
@@ -39,15 +39,19 @@ clients:
- name: gpt4all-j
max_tokens: 8192
+ # See https://ai.google.dev/docs
+ - type: gemini
+ api_key: AIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+
# See https://developers.generativeai.google/guide
- type: palm
- api_key: sk-xxx
+ api_key: AIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# See https://cloud.baidu.com/doc/WENXINWORKSHOP/index.html
- type: ernie
- api_key: xxx
- secret_key: xxx
+ api_key: xxxxxxxxxxxxxxxxxxxxxxxx
+ secret_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# See https://help.aliyun.com/zh/dashscope/
- type: qianwen
- api_key: xxx \ No newline at end of file
+ api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \ No newline at end of file