summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-21 21:26:18 +0800
committerGitHub <noreply@github.com>2024-06-21 21:26:18 +0800
commitf2378e172548f3357fca6e561803bfe3a013bcb3 (patch)
treee79a9253ec845d16fc4596f377c5515f45a104e9 /config.example.yaml
parent054e998ff49a1f3abbc0a474d9a8d23c0ed4b17b (diff)
downloadaichat-f2378e172548f3357fca6e561803bfe3a013bcb3.tar.gz
refactor: rename model.mode to model.type (#625)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml7
1 files changed, 3 insertions, 4 deletions
diff --git a/config.example.yaml b/config.example.yaml
index 80f6adc..ae9c53f 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -83,17 +83,16 @@ clients:
# name: xxxx # Only use it to distinguish clients with the same client type. Optional
# models:
# - name: xxxx
- # mode: chat # Chat model
# max_input_tokens: 100000
# supports_vision: true
# supports_function_calling: true
# - name: xxxx
- # mode: embedding # Embedding model
+ # type: embedding # Embedding model
# max_input_tokens: 2048
# default_chunk_size: 2000
# max_concurrent_chunks: 100
# - name: xxxx
- # mode: rerank # Rerank model
+ # type: rerank # Rerank model
# max_input_tokens: 2048
# patches:
# <regex>: # The regex to match model names, e.g. '.*' 'gpt-4o' 'gpt-4o|gpt-4-.*'
@@ -172,7 +171,7 @@ clients:
- name: llama3
max_input_tokens: 8192
- name: all-minilm:l6-v2
- mode: embedding
+ type: embedding
max_chunk_size: 1000
# See https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart