diff options
| author | sigoden <sigoden@gmail.com> | 2024-01-30 18:28:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-30 18:28:12 +0800 |
| commit | a30c3cc4c1757245e704273b047b44edb8293602 (patch) | |
| tree | 7f58fd6fb0b7faacf8e2fabcbaee8870e454697e /config.example.yaml | |
| parent | fe35cfd9419302f01baf9672493c0b0a4b41d889 (diff) | |
| download | aichat-a30c3cc4c1757245e704273b047b44edb8293602.tar.gz | |
feat: add openai.api_base config (#302)
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config.example.yaml b/config.example.yaml index ce12cce..2263cce 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -24,13 +24,14 @@ clients: # See https://platform.openai.com/docs/quickstart - type: openai api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - organization_id: + api_base: https://api.openai.com/v1 # Optional field + organization_id: org-xxxxxxxxxxxxxxxxxxxxxxxx # Optional field # See https://ai.google.dev/docs - type: gemini api_key: AIxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx - # See https://github.com/go-skynet/LocalAI + # For https://github.com/go-skynet/LocalAI or any OpenAI compatible API providers - type: localai api_base: http://localhost:8080/v1 api_key: xxx |
