Closed
Description
Using default versions collected by pip I get:
generator-1 | File "/usr/local/lib/python3.9/site-packages/haystack/core/pipeline/pipeline.py", line 249, in run
generator-1 | res: Dict[str, Any] = self._run_component(name, last_inputs[name])
generator-1 | File "/usr/local/lib/python3.9/site-packages/haystack/core/pipeline/pipeline.py", line 76, in _run_component
generator-1 | res: Dict[str, Any] = instance.run(**inputs)
generator-1 | File "/usr/local/lib/python3.9/site-packages/haystack_integrations/components/retrievers/weaviate/embedding_retriever.py", line 137, in run
generator-1 | documents = self._document_store._embedding_retrieval(
generator-1 | File "/usr/local/lib/python3.9/site-packages/haystack_integrations/document_stores/weaviate/document_store.py", line 525, in _embedding_retrieval
generator-1 | properties = [p.name for p in self.collection.config.get().properties]
generator-1 | File "/usr/local/lib/python3.9/site-packages/haystack_integrations/document_stores/weaviate/document_store.py", line 217, in collection
generator-1 | client = self.client
generator-1 | File "/usr/local/lib/python3.9/site-packages/haystack_integrations/document_stores/weaviate/document_store.py", line 206, in client
generator-1 | self._client.collections._get_all(simple=True)
generator-1 | AttributeError: '_Collections' object has no attribute '_get_all'
And in fact, in weaviate_client 4.7.1, the _Collections
class is no more a subclass of _CollectionsBase
which implements the _get_all
method.
making them incompatible.
Using _get_all
in haystack_integration is maybe the problem as it is a protected method, but I don't know enough the code of both tools to judge.
Metadata
Metadata
Assignees
Labels
No labels