From 215e54fc96e905872be799a9596a8d21a48b2e3e Mon Sep 17 00:00:00 2001 From: Redreamality Date: Sun, 17 Sep 2023 21:39:21 +0800 Subject: [PATCH] docs: update readme (#502) * Update README.md * docs: update README --------- Co-authored-by: JustSong --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 02412ec8..7f85bcc0 100644 --- a/README.md +++ b/README.md @@ -269,6 +269,12 @@ docker run --name chatgpt-web -d -p 3002:3002 -e OPENAI_API_BASE_URL=https://ope 注意,具体的 API Base 的格式取决于你所使用的客户端。 +例如对于 OpenAI 的官方库: +```bash +OPENAI_API_KEY="sk-xxxxxx" +OPENAI_API_BASE="https://:/v1" +``` + ```mermaid graph LR A(用户)