Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openai.error.RateLimitError #25

Open
amir-b-mostaghimi opened this issue Aug 1, 2023 · 0 comments
Open

openai.error.RateLimitError #25

amir-b-mostaghimi opened this issue Aug 1, 2023 · 0 comments

Comments

@amir-b-mostaghimi
Copy link

The code crashes in the processing step with the following error:

openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-vBsMRTgzeINBj79qEcyzb4EI on tokens per min. Limit: 1000000 / min. Current: 1 / min. Contact us through our help center at help.openai.com if you continue to have issues.

Now I know it is caused by sending too many tokens at once through the API. Can a timer configuration be added to the code to send the tokens in fixed intervals?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant