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

running into rate limit with OpenAI's GPT-3 API when used during evaluation #3068

Closed
Timoeller opened this issue Aug 19, 2022 · 1 comment
Closed

Comments

@Timoeller
Copy link
Contributor

Is your feature request related to a problem? Please describe.
OpenAI has some rate limits on their API access:

  • 20 requests per minute for free access
  • 60 rpm in pay as you go initially, then it ramps up to 3000 later

see https://help.openai.com/en/articles/5955598-is-api-usage-subject-to-any-rate-limits for details.

Describe the solution you'd like
I see 3 solutions:

  1. get paid plan and wait a bit (3000 requests per minute should be fine for most cases)
  2. hack a time.sleep(X) in here
  3. haystack implements an optional rate limit in the eval methods
@mayankjobanputra
Copy link
Collaborator

Closing this as this is fixed by #3398

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

Successfully merging a pull request may close this issue.

2 participants