From f2378e172548f3357fca6e561803bfe3a013bcb3 Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 21 Jun 2024 21:26:18 +0800 Subject: refactor: rename model.mode to model.type (#625) --- config.example.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'config.example.yaml') 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: # : # 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 -- cgit v1.2.3