diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-28 06:15:10 +0000 |
|---|---|---|
| committer | sigoden <sigoden@gmail.com> | 2024-04-28 06:43:17 +0000 |
| commit | 212ff1674eba9125fbffe914a63a4f364f550a80 (patch) | |
| tree | 0f9c807850bb8fa44903e2461d1a8ab0c06f0c7b /config.example.yaml | |
| parent | 7bda1eace29dde7c1c7ce5e8ab4bc911cfb90c3f (diff) | |
| download | aichat-212ff1674eba9125fbffe914a63a4f364f550a80.tar.gz | |
refactor: minor improvements
- config.example.yaml comments
- `--serve` description
- No model error
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config.example.yaml b/config.example.yaml index e0a4689..523771f 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -79,7 +79,7 @@ clients: api_base: http://localhost:8080/v1 api_key: sk-xxx # ENV: {client_name}_API_BASE chat_endpoint: /chat/completions # Optional - models: + models: # Required - name: llama3 max_input_tokens: 8192 @@ -88,16 +88,16 @@ clients: api_base: http://localhost:11434 api_auth: Basic xxx # ENV: {client_name}_API_AUTH chat_endpoint: /api/chat # Optional - models: + models: # Required - name: llama3 max_input_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 # ENV: {client_name}_API_BASE - models: - - name: gpt-35-turbo # Model deployment name + api_key: xxx # ENV: {client_name}_API_BASE + models: # Required + - name: gpt-35-turbo # Model deployment name max_input_tokens: 8192 # See https://cloud.google.com/vertex-ai |
