openai / chatgpt-retrieval-plugin

The ChatGPT Retrieval Plugin lets you easily find personal or work documents by asking questions in natural language.
MIT License
20.96k stars 3.68k forks source link

AssertionError : assert datastore is not None #357

Open shakil20170 opened 10 months ago

shakil20170 commented 10 months ago

Hi, I am using the pinecone vector db for the database. Added this to the factory.py datastore = os.environ.get("pinecone")

but it returns that

File "/Users/shakilsultansunmoon/Projects/retrieval-app/chatgpt-retrieval-plugin/server/main.py", line 153, in startup datastore = await get_datastore() File "/Users/shakilsultansunmoon/Projects/retrieval-app/chatgpt-retrieval-plugin/datastore/factory.py", line 7, in get_datastore assert datastore is not None AssertionError