openai / chatgpt-retrieval-plugin

The ChatGPT Retrieval Plugin lets you easily find personal or work documents by asking questions in natural language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AssertionError : assert datastore is not None

shakil20170 opened this issue · comments

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