mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-07-25 07:42:14 +08:00
docs: update FAQ
This commit is contained in:
20
README.md
20
README.md
@ -172,16 +172,12 @@ See [this issue](https://github.com/sqlchat/sqlchat/issues/141).
|
||||
</p>
|
||||
</details>
|
||||
|
||||
<details><summary>How to use my OpenAI API key?</summary>
|
||||
<details><summary>You exceeded your current quota, please check your plan and billing details</summary>
|
||||
<p>
|
||||
|
||||
- You can set the `OPENAI_API_KEY` in environment variable.
|
||||

|
||||
|
||||
```bash
|
||||
docker run --name sqlchat --platform linux/amd64 --env OPENAI_API_KEY=xxx -p 3000:3000 sqlchat/sqlchat
|
||||
```
|
||||
|
||||
- You can set the `OPENAI_API_KEY` in setting dialog.
|
||||
Your OpenAI Key has run out of quota. Please check your [OpenAI account](https://platform.openai.com/account/api-keys).
|
||||
|
||||
</p>
|
||||
</details>
|
||||
@ -201,13 +197,3 @@ If you cannot access the OpenAI API endpoint, you can try to set the `OPENAI_API
|
||||
|
||||
</p>
|
||||
</details>
|
||||
|
||||
<details><summary>You exceeded your current quota, please check your plan and billing details</summary>
|
||||
<p>
|
||||
|
||||

|
||||
|
||||
Your OpenAI Key has run out of quota. Please check your [OpenAI account](https://platform.openai.com/account/api-keys).
|
||||
|
||||
</p>
|
||||
</details>
|
||||
|
Reference in New Issue
Block a user