We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChromaDocumentStore
host
port
Describe the bug ChromaDocumentStore remote connection with host and port does not work.
Error message
File [/opt/miniconda3/envs/rag/lib/python3.11/site-packages/haystack_integrations/document_stores/chroma/document_store.py:104](http://localhost:8888/opt/miniconda3/envs/rag/lib/python3.11/site-packages/haystack_integrations/document_stores/chroma/document_store.py#line=103), in ChromaDocumentStore._ensure_initialized(self) 101 raise ValueError(error_message) 102 if self._host and self._port is not None: 103 # Remote connection via HTTP client --> 104 client = chromadb.HttpClient( 105 host=self._host, 106 port=self._port, 107 ) 108 elif self._persist_path is None: 109 # In-memory storage 110 client = chromadb.Client() File [/opt/miniconda3/envs/rag/lib/python3.11/site-packages/chromadb/__init__.py:204](http://localhost:8888/opt/miniconda3/envs/rag/lib/python3.11/site-packages/chromadb/__init__.py#line=203), in HttpClient(host, port, ssl, headers, settings, tenant, database) 201 settings.chroma_server_ssl_enabled = ssl 202 settings.chroma_server_headers = headers --> 204 return ClientCreator(tenant=tenant, database=database, settings=settings) File [/opt/miniconda3/envs/rag/lib/python3.11/site-packages/chromadb/api/client.py:65](http://localhost:8888/opt/miniconda3/envs/rag/lib/python3.11/site-packages/chromadb/api/client.py#line=64), in Client.__init__(self, tenant, database, settings) 62 # Get the root system component we want to interact with 63 self._server = self._system.instance(ServerAPI) ---> 65 user_identity = self.get_user_identity() 67 maybe_tenant, maybe_database = maybe_set_tenant_and_database( 68 user_identity, 69 overwrite_singleton_tenant_database_access_from_auth=settings.chroma_overwrite_singleton_tenant_database_access_from_auth, 70 user_provided_tenant=tenant, 71 user_provided_database=database, 72 ) 73 if maybe_tenant: File [/opt/miniconda3/envs/rag/lib/python3.11/site-packages/chromadb/api/client.py:110](http://localhost:8888/opt/miniconda3/envs/rag/lib/python3.11/site-packages/chromadb/api/client.py#line=109), in Client.get_user_identity(self) 108 raise e 109 except Exception as e: --> 110 raise ValueError(str(e)) ValueError: {"detail":"Not Found"} (trace ID: 9f0f8fb545ac9820e192e62fd2bc82ea)
Expected behavior Successfully connect to chromadb server.
Additional context Documentation - ChromaDocumentStore
To Reproduce Steps to reproduce the behavior
System:
The text was updated successfully, but these errors were encountered:
duplicate of deepset-ai/haystack-core-integrations#1197
Sorry, something went wrong.
No branches or pull requests
Describe the bug
ChromaDocumentStore
remote connection withhost
andport
does not work.Error message
Expected behavior
Successfully connect to chromadb server.
Additional context
Documentation - ChromaDocumentStore
To Reproduce
Steps to reproduce the behavior
System:
The text was updated successfully, but these errors were encountered: