techleadhd / chatgpt-retrieval

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named 'openai' error

getsean opened this issue · comments

image

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

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

Fixed the above but now I get

image

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.

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.