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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: API Rate Limit Reached. Waiting 10 seconds... #425

Closed
1 task done
bbriggs1990 opened this issue Apr 7, 2023 · 11 comments
Closed
1 task done

Error: API Rate Limit Reached. Waiting 10 seconds... #425

bbriggs1990 opened this issue Apr 7, 2023 · 11 comments
Labels
API access Trouble with connecting to the API

Comments

@bbriggs1990
Copy link

Duplicates

  • I have searched the existing issues

Steps to reproduce 馃暪

image

Current behavior 馃槸

Doesn't run

Expected behavior 馃

Runs

Your prompt 馃摑

# Paste your prompt here
@CanyonTurtle
Copy link

I have the same issue, using gpt3.5 on windows w/ python 3.10.6 and pinecone free tier with default project.

@CanyonTurtle
Copy link

Screenshot 2023-04-07 160314

By printing the exception details, it looks like I simply don't have any API calls (I'm not paying for the API or anything).

@CanyonTurtle
Copy link

Suggestion to author @Torantulino:

  1. perhaps a little blurb in the requirements section that explains that you need to have API credits in order to use this, and/or
  2. Changing this exception message to something like "API Rate Limit Reached (do you have enough API credits to use the openai API?) Waiting..."

@lumos42
Copy link

lumos42 commented Apr 8, 2023

Same

Using memory of type: PineconeMemory
Error:  API Rate Limit Reached. Waiting 10 seconds...
Error:  API Rate Limit Reached. Waiting 10 seconds...
Error:  API Rate Limit Reached. Waiting 10 seconds...
Error:  API Rate Limit Reached. Waiting 10 seconds...
Error:  API Rate Limit Reached. Waiting 10 seconds...
Error:  API Rate Limit Reached. Waiting 10 seconds...
Error:  API Rate Limit Reached. Waiting 10 seconds...
/ Thinking...

@Hiltso
Copy link

Hiltso commented Apr 8, 2023

Same here. I am using the Pinecone starter account. Looks like it doesnt like the Pincone Starter account API details.
Using memory of type: PineconeMemory
Error: API Rate Limit Reached. Waiting 10 seconds...
Error: API Rate Limit Reached. Waiting 10 seconds...
Error: API Rate Limit Reached. Waiting 10 seconds...
/ Thinking...

Until I figure this out, I would like to remove Pinecone. I have deleted the ENV variables for Pincone and edited the .env file to remove those details but it keeps coming back to this error.

Also I presume this is a typo in Pincone section for Windows users to set up ENV vars? setx instead of export?
For Windows Users:

setx PINECONE_API_KEY "YOUR_PINECONE_API_KEY"
export PINECONE_ENV="Your pinecone region" # something like: us-east4-gcp

@AlexTs10
Copy link

AlexTs10 commented Apr 8, 2023

i have the same problem. Using paid openai api and pinecone free trial. Openai api works when i directly use it and with langchain.

@dudiyalov
Copy link

  • I had deleted the index in Pinecone and created a new one.
  • I had set a paid account on open.ai and set billing limits.
    Now it works just fine.

@lumos42
Copy link

lumos42 commented Apr 8, 2023

Me too, I created a paid account in openAI an now it works fine

@AlexTs10
Copy link

AlexTs10 commented Apr 8, 2023

found the problem.
On windows the openai_api_key is not set properly even if i write it at the .env file.
-- When i installed in a new conda env it used a default key.
I had to set it manually and then worked properlly.

@Hiltso
Copy link

Hiltso commented Apr 8, 2023

Works After I added a few $ to my openai account.

It was bombing with Pincone errors which was throwing me off.

I noticed in Openai Usage tab on the right hand column was at $0.00 / $0.00 meaning no tokens available. Now after adding a couple of dollars it works.
I also set Usage Limit in the Billing menu to 3$ for now (rather than the default 120$ :)

@JuroOravec
Copy link
Contributor

Duplicate of #1189. @bbriggs1990 would you close this one issue if it indeed is the same thing?

(I had this issue too - It's that we haven't opted into "paid account" on OpenAI's billing page)

I'm making an MR as we speak to update the README section on OpenAI's API key, to make this clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API access Trouble with connecting to the API
Projects
None yet
Development

No branches or pull requests

9 participants