From 041d96e8ee41acb13d220061c6cc2104ebdd73f7 Mon Sep 17 00:00:00 2001 From: tianzhou Date: Tue, 19 Dec 2023 13:49:21 +0800 Subject: [PATCH] docs: update FAQ --- README.md | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index a65f98c..40e3dbd 100644 --- a/README.md +++ b/README.md @@ -172,16 +172,12 @@ See [this issue](https://github.com/sqlchat/sqlchat/issues/141).

-
How to use my OpenAI API key? +
You exceeded your current quota, please check your plan and billing details

-- You can set the `OPENAI_API_KEY` in environment variable. +![openai quota](https://raw.githubusercontent.com/sqlchat/sqlchat/main/public/error-exceed-openai-quota.webp) - ```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).

@@ -201,13 +197,3 @@ If you cannot access the OpenAI API endpoint, you can try to set the `OPENAI_API

- -
You exceeded your current quota, please check your plan and billing details -

- -![openai quota](https://raw.githubusercontent.com/sqlchat/sqlchat/main/public/error-exceed-openai-quota.webp) - -Your OpenAI Key has run out of quota. Please check your [OpenAI account](https://platform.openai.com/account/api-keys). - -

-