Open llandegla opened 11 months ago
I just had the same error, downgrading chromadb to 0.3.29 solved it. Ie sth like this: pip3.11 install --force-reinstall -v "chromadb==0.3.29"
I just had the same error, downgrading chromadb to 0.3.29 solved it. Ie sth like this: pip3.11 install --force-reinstall -v "chromadb==0.3.29"
any solution to this error?
Traceback (most recent call last):
File "C:\Users\enrui\Downloads\chatgpt-retrieval-main (1)\chatgpt-retrieval-main\chatgpt.py", line 35, in
install --force-reinstall -v "chromadb==0.3.29"
That worked for me perfectly... Thank You @majzlik
Worked for me too. Thank you @majzlik
I'm working in Google Colab so I used this:
pip install langchain openai chromadb==0.3.29 tiktoken unstructured
I'm getting this error when I try to run within Google Colab notebook:
Traceback (most recent call last): File "/content/chatgpt-retrieval/chatgpt.py", line 35, in
index = VectorstoreIndexCreator().from_loaders([loader])
File "/usr/local/lib/python3.10/dist-packages/langchain/indexes/vectorstore.py", line 73, in from_loaders
return self.from_documents(docs)
File "/usr/local/lib/python3.10/dist-packages/langchain/indexes/vectorstore.py", line 78, in from_documents
vectorstore = self.vectorstore_cls.from_documents(
File "/usr/local/lib/python3.10/dist-packages/langchain/vectorstores/chroma.py", line 564, in from_documents
return cls.from_texts(
File "/usr/local/lib/python3.10/dist-packages/langchain/vectorstores/chroma.py", line 519, in from_texts
chroma_collection = cls(
File "/usr/local/lib/python3.10/dist-packages/langchain/vectorstores/chroma.py", line 104, in init
self._client = chromadb.Client(_client_settings)
File "/usr/local/lib/python3.10/dist-packages/chromadb/init.py", line 86, in Client
system.start()
File "/usr/local/lib/python3.10/dist-packages/chromadb/config.py", line 205, in start
component.start()
File "/usr/local/lib/python3.10/dist-packages/chromadb/db/impl/sqlite.py", line 92, in start
self.initialize_migrations()
File "/usr/local/lib/python3.10/dist-packages/chromadb/db/migrations.py", line 128, in initialize_migrations
self.apply_migrations()
File "/usr/local/lib/python3.10/dist-packages/chromadb/db/migrations.py", line 156, in apply_migrations
self.apply_migration(cur, migration)
File "/usr/local/lib/python3.10/dist-packages/chromadb/db/impl/sqlite.py", line 209, in apply_migration
cur.executescript(migration["sql"])
sqlite3.OperationalError: no such tokenizer: trigram