You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the following error when trying to upload a document.
ERROR [apps.rag.main] batch_size must be less than or equal to sync_threshold
Traceback (most recent call last):
File "/app/backend/apps/rag/main.py", line 1007, in store_docs_in_vector_db
collection = CHROMA_CLIENT.create_collection(name=collection_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/chromadb/api/client.py", line 117, in create_collection
model = self._server.create_collection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/chromadb/telemetry/opentelemetry/__init__.py", line 146, in wrapper
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/chromadb/api/fastapi.py", line 206, in create_collection
model = CollectionModel.from_json(resp_json)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/chromadb/types.py", line 139, in from_json
configuration = CollectionConfigurationInternal.from_json(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/chromadb/api/configuration.py", line 217, in from_json
return cls(parameters=parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/chromadb/api/configuration.py", line 115, in __init__
parameter.value = child_type.from_json(parameter.value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/chromadb/api/configuration.py", line 217, in from_json
return cls(parameters=parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/chromadb/api/configuration.py", line 130, in __init__
self.configuration_validator()
File "/usr/local/lib/python3.11/site-packages/chromadb/api/configuration.py", line 286, in configuration_validator
raise InvalidConfigurationError(
chromadb.api.configuration.InvalidConfigurationError: batch_size must be less than or equal to sync_threshold
The text was updated successfully, but these errors were encountered:
I am getting the following error when trying to upload a document.
The text was updated successfully, but these errors were encountered: