Operations that may lead to OpenAI's title ban

1. Access services in countries/regions not supported by openai

The countries and regions currently supported by openai are:
Antigua and Barbuda, Argentina, Armenia, Australia, Austria, Bahamas, Bangladesh, Barbados, Belgium, Belize, Benin, Bhutan, Bolivia, Bosnia and Herzegovina, Botswana , Brazil, Brunei, Bulgaria, Burkina Faso, Cape Verde, Canada, Chile, Colombia, Comoros, Congo (Congo-Brazzaville), Costa Rica, Côte d'Ivoire, Croatia, Cyprus, Czechia (Czech Republic ), Denmark, Djibouti, Dominica, Dominican Republic, Ecuador, El Salvador, Estonia, Fiji, Finland, France, Gabon, Gambia, Georgia, Germany, Ghana, Greece, Grenada, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Holy See (Vatican City), Honduras, Hungary, Iceland, India, Indonesia, Iraq, Ireland, Israel, Italy, Jamaica, Japan, Jordan, Kazakhstan, Kenya, Kiribati, Kuwait, Kyrgyzstan, Latvia, Lebanon , Lesotho, Liberia, Liechtenstein, Lithuania, Luxembourg, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Marshall Islands, Mauritania, Mauritius, Mexico, Micronesia, Moldova, Monaco, Mongolia, Montenegro, Morocco, Mozambique, Myanmar, Namibia, Nauru, Nepal, Netherlands, New Zealand, Nicaragua, Niger, Nigeria, North Macedonia, Norway, Oman, Pakistan, Palau, Palestine, Panama, Papua New Guinea, Peru, Philippines, Poland, Portugal, Qatar , Romania, Rwanda, Saint Kitts and Nevis, Saint Lucia, Saint Vincent and the Grenadines, Samoa, San Marino, Sao Tome and Principe, Senegal, Serbia, Seychelles, Sierra Leone, Singapore, Slovakia , Slovenia, Solomon Islands, South Africa, South Korea, Spain, Sri Lanka, Suriname, Sweden, Switzerland, Taiwan, Tanzania, Thailand, Timor-Leste (East Timor), Togo, Tonga, Trinidad and Tobago, Tunisia, Turkey, Fig. Walu, Uganda, United Arab Emirates, United Kingdom, United States, Uruguay, Vanuatu, Zambia

For details, refer to the official instructions: https://platform.openai.com/docs/supported-countries

2. The content of the question violates the regulations

Official terms of use description: https://openai.com/policies/terms-of-use

3. Pay attention to the frequency of API calls

In a period of time, when the frequency of accessing openaiAPI is too high, it is easy to cause the account to be blocked.

4. Avoid multiple IPs using one openai account at the same time (important!!!)

Because the openai usage policy stipulates that multiple ips are not allowed to use one account, including calling API. Therefore, it should be avoided that multiple IPs call the API at the same time, or log in to the openai page.

In general, it is recommended not to log in in the browser to provide the key to the account that calls the API on the backend.

5. Avoid an IP polling key

In the current backend code, only one key is used to call the API, so this situation will not happen at present, but it is recommended not to poll the key to call the API in the future.

6. Avoid using public anti-generation interface services

This question refers to directly using nginx to proxy all requests to openai's API interface.

The recommended method to use is:

(1) Serve a service that calls openaiAPI on an overseas server, and open an API entry;

(2) Nginx is to proxy the request to the API entrance opened by the server;

おすすめ

転載: blog.csdn.net/qq_42349944/article/details/129876816