Is your feature request related to a problem? Please describe.
openai.error.RateLimitError: Rate limit reached for default-gpt-3.5-turbo in organization org-xxx on requests per min. Limit: 3 / min. Please try again in 20s. Contact support@openai.com if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://platform.openai.com/account/billing to add a payment method.
Describe the solution you'd like
I would like to allow free-account users to try and enjoy this program.
Describe alternatives you've considered
book.py
@staticmethod
def get_response(prompt):
response = openai.ChatCompletion.create(
model="gpt-3.5-turbo-0301",
messages=prompt
)["choices"][0]["message"]["content"]
time.sleep(20) # add a 20-second delay between API calls
return response
This has worked well for me. The generation becomes really slow, but it could be a good fix.
Maybe we can add a condition beforehand to let players choose if they use a free or premium account? And hide the waiting time from those who have premium plans.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe. openai.error.RateLimitError: Rate limit reached for default-gpt-3.5-turbo in organization org-xxx on requests per min. Limit: 3 / min. Please try again in 20s. Contact support@openai.com if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit https://platform.openai.com/account/billing to add a payment method.
Describe the solution you'd like I would like to allow free-account users to try and enjoy this program.
Describe alternatives you've considered book.py
@staticmethod def get_response(prompt): response = openai.ChatCompletion.create( model="gpt-3.5-turbo-0301", messages=prompt )["choices"][0]["message"]["content"] time.sleep(20) # add a 20-second delay between API calls return response
This has worked well for me. The generation becomes really slow, but it could be a good fix.
Maybe we can add a condition beforehand to let players choose if they use a free or premium account? And hide the waiting time from those who have premium plans.
Additional context Add any other context or screenshots about the feature request here.