From 8e5d4e55b1a5158a1f35adaf044dec545159f426 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 6 Mar 2024 08:35:40 +0800 Subject: refactor: rename model's `max_tokens` to `max_input_tokens` (#339) BREAKING CHANGE: rename model's `max_tokens` to `max_input_tokens` --- config.example.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config.example.yaml') diff --git a/config.example.yaml b/config.example.yaml index 69220f1..2d3c58f 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -52,11 +52,11 @@ clients: chat_endpoint: /chat/completions # Optional field models: - name: llama2 - max_tokens: 8192 + max_input_tokens: 8192 extra_fields: # Optional field, set custom parameters key: value - name: llava - max_tokens: 8192 + max_input_tokens: 8192 capabilities: text,vision # Optional field, possible values: text, vision # See https://github.com/jmorganca/ollama @@ -66,7 +66,7 @@ clients: chat_endpoint: /chat # Optional field models: - name: mistral - max_tokens: 8192 + max_input_tokens: 8192 # See https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart - type: azure-openai @@ -74,7 +74,7 @@ clients: api_key: xxx models: - name: MyGPT4 # Model deployment name - max_tokens: 8192 + max_input_tokens: 8192 # See https://cloud.google.com/vertex-ai - type: vertexai -- cgit v1.2.3