From 4f28876b46bbe4c2f3a86bd32b0be91ce0d05c52 Mon Sep 17 00:00:00 2001 From: voidking Date: Tue, 1 Aug 2023 15:16:33 +0800 Subject: [PATCH] Add description for OPENAI_PROXY --- config/config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/config.yaml b/config/config.yaml index bd258cea6..f533ce7f2 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -2,7 +2,9 @@ # The configuration of key.yaml has a higher priority and will not enter git #### if OpenAI -## You can get OPENAI_API_BASE url from https://github.com/beidongjiedeguang/openai-forward +## The official OPENAI_API_BASE is https://api.openai.com/v1 +## If the official OPENAI_API_BASE is not available, we recommend using the [openai-forward](https://github.com/beidongjiedeguang/openai-forward). +## Or, you can configure OPENAI_PROXY to access official OPENAI_API_BASE. OPENAI_API_BASE: "https://api.openai-forward.com/v1" #OPENAI_PROXY: "http://127.0.0.1:8118" #OPENAI_API_KEY: "YOUR_API_KEY"