AssertionError : assert datastore is not None
shakil20170 opened this issue · comments
Shakil Sultan commented
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