summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml31
1 files changed, 20 insertions, 11 deletions
diff --git a/config.example.yaml b/config.example.yaml
index 502969b..874a53f 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -22,26 +22,35 @@ clients:
api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
organization_id:
- # See https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart
- - type: azure-openai
- api_base: https://RESOURCE.openai.azure.com
- api_key: xxx
- models:
- - name: MyGPT4 # Model deployment name
- max_tokens: 8192
+ # See https://ai.google.dev/docs
+ - type: gemini
+ api_key: AIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# See https://github.com/go-skynet/LocalAI
- type: localai
api_base: http://localhost:8080/v1
api_key: xxx
- chat_endpoint: /chat/completions
+ chat_endpoint: /chat/completions # Optional field
models:
- name: gpt4all-j
max_tokens: 8192
- # See https://ai.google.dev/docs
- - type: gemini
- api_key: AIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+ # See https://github.com/jmorganca/ollama
+ - type: ollama
+ api_base: http://localhost:11434/api
+ api_key: Baisc xxx
+ chat_endpoint: /chat # Optional field
+ models:
+ - name: gpt4all-j
+ max_tokens: 8192
+
+ # See https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart
+ - type: azure-openai
+ api_base: https://RESOURCE.openai.azure.com
+ api_key: xxx
+ models:
+ - name: MyGPT4 # Model deployment name
+ max_tokens: 8192
# See https://cloud.baidu.com/doc/WENXINWORKSHOP/index.html
- type: ernie