techleadhd / chatgpt-retrieval

1.65k stars 786 forks source link

No module named 'openai' error #19

Closed getsean closed 11 months ago

getsean commented 11 months ago

image

Can someone point me in the right direction on fixing this error?

getsean commented 11 months ago

Do I need to put these files inside the site-packages/openai folder? I tried and now I get a punch more errors..

getsean commented 11 months ago

Fixed the above but now I get

image

StrictLine commented 11 months ago

Actually, a requirements.txt would have been nice to include, but there are not much installation to do:

pip install openai
pip install chromadb
pip install 'langchain'

Note: I'm not sure at the moment the extension of langchain like langchain[llms] or langchain[all] needs to be installed.

As for the latest screenshot you posted: it's what it says :) Unfortunately, I stumbled upon this issue, because I thought OpenAI would honor my loyalty of monthly subscription for the ChatGPT, but NO: your free rate limit expires after a while, then you either have a reserve account or choose a paid plan.

getsean commented 11 months ago

Thanks. I was able to get it working. I think my billing just took a few minutes to go through after I put my card in because then the rate limit went away for small tests. But if you put like 10 pages of data you will him limits I think.