From 6286251d320a7f512e49534c30b42452d30d93cc Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 19 Dec 2023 20:37:53 +0800 Subject: feat: support gemini (#273) --- config.example.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'config.example.yaml') 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 -- cgit v1.2.3