The Docker version is equivalent to the stable version, and the latest Docker is always consistent with the latest release version. Currently, our release frequency is once every one to two days, so the Docker version will always be one to two days behind the latest commit, which is expected.
This is your custom access password, you can choose:
Related discussion: #386
If you use nginx reverse proxy, you need to add the following code to the configuration file:
# No caching, support streaming output
proxy_cache off; # Turn off caching
proxy_buffering off; # Turn off proxy buffering
chunked_transfer_encoding on; # Turn on chunked transfer encoding
tcp_nopush on; # Turn on TCP NOPUSH option, disable Nagle algorithm
tcp_nodelay on; # Turn on TCP NODELAY option, disable delay ACK algorithm
keepalive_timeout 300; # Set keep-alive timeout to 65 seconds
If you are deploying on netlify, this issue is still waiting to be resolved, please be patient.
Please check and troubleshoot the following issues:
There could be many reasons, please check the following in order:
In the settings page - model settings, there is an item called temperature
. If this value is greater than 1, it may cause garbled replies. Adjust it back to within 1.
The project has set an access password through the environment variable CODE. When using it for the first time, you need to go to settings and enter the access code to use.
The API KEY is problematic. Insufficient balance.
Due to IP restrictions of OpenAI, China and some other countries/regions cannot directly connect to OpenAI API and need to go through a proxy. You can use a proxy server (forward proxy) or a pre-configured OpenAI API reverse proxy.
It is possible but there are issues to be addressed:
Cloudflare (CF) is a network service provider offering CDN, domain management, static page hosting, edge computing function deployment, and more. Common use cases: purchase and/or host your domain (resolution, dynamic domain, etc.), apply CDN to your server (can hide IP to avoid being blocked), deploy websites (CF Pages). CF offers most services for free.
Vercel is a global cloud platform designed to help developers build and deploy modern web applications more quickly. This project and many web applications can be deployed on Vercel with a single click for free. No need to understand code, Linux, have a server, pay, or set up an OpenAI API proxy. The downside is that you need to bind a domain name to access it without restrictions in China.
Go to chat.openai.com to register. You will need:
Official website (requires VPN): https://platform.openai.com/account/usage Some users have set up a proxy to check the balance without a VPN; ask online friends for access. Please verify the source is reliable to avoid API Key leakage.
(Updated April 6th) Newly registered accounts usually display API balance within 24 hours. New accounts are currently given a $5 balance.
OpenAI only accepts credit cards from designated regions (Chinese credit cards cannot be used). If the credit cards from your region is not supported, some options include:
(Updated April 6th) Access to the GPT-4 API requires a separate application. Go to the following address and enter your information to join the waitlist (prepare your OpenAI organization ID): https://openai.com/waitlist/gpt-4-api Wait for email updates afterwards.
Please refer to: #371
Related discussion: #518
- If you have GPT-4 access and use GPT-4 API regularly, your bill will increase rapidly since GPT-4 pricing is about 15 times higher than GPT-3.5;
- If you are using GPT-3.5 and not using it frequently, but still find your bill increasing fast, please troubleshoot immediately using these steps:
- Check your API key consumption record on the OpenAI website; if your token is consumed every hour and each time consumes tens of thousands of tokens, your key must have been leaked. Please delete it and regenerate it immediately. Do not check your balance on random websites.
- If your password is short, such as 5 characters or fewer, the cost of brute-forcing is very low. It is recommended to search docker logs to confirm whether someone has tried a large number of password combinations. Keyword: got access code
- By following these two methods, you can locate the reason for your token's rapid consumption:
- If the OpenAI consumption record is abnormal but the Docker log has no issues, it means your API key has been leaked;
- If the Docker log shows a large number of got access code brute-force attempts, your password has been cracked.