docs: update readme (#502)
* Update README.md * docs: update README --------- Co-authored-by: JustSong <songquanpeng@foxmail.com>
This commit is contained in:
parent
ecf8a6d875
commit
215e54fc96
@ -269,6 +269,12 @@ docker run --name chatgpt-web -d -p 3002:3002 -e OPENAI_API_BASE_URL=https://ope
|
|||||||
|
|
||||||
注意,具体的 API Base 的格式取决于你所使用的客户端。
|
注意,具体的 API Base 的格式取决于你所使用的客户端。
|
||||||
|
|
||||||
|
例如对于 OpenAI 的官方库:
|
||||||
|
```bash
|
||||||
|
OPENAI_API_KEY="sk-xxxxxx"
|
||||||
|
OPENAI_API_BASE="https://<HOST>:<PORT>/v1"
|
||||||
|
```
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
graph LR
|
graph LR
|
||||||
A(用户)
|
A(用户)
|
||||||
|
Loading…
Reference in New Issue
Block a user