From a30c3cc4c1757245e704273b047b44edb8293602 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 30 Jan 2024 18:28:12 +0800 Subject: feat: add openai.api_base config (#302) --- config.example.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config.example.yaml') 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 -- cgit v1.2.3