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
Describe the bug
I am trying to run a simple pipeline on Databricks ML runtime 14.3 LTS
I installed haystack using pip install haystack-ai and during import:
from haystack.components.embedders import SentenceTransformersDocumentEmbedder
Error message
ImportError: cannot import name 'Iterator' from 'typing_extensions' (/databricks/python/lib/python3.10/site-packages/typing_extensions.py)
File , line 12
10 from haystack.components.retrievers.in_memory import InMemoryEmbeddingRetriever
11 from haystack import Document
---> 12 from haystack.components.embedders import SentenceTransformersDocumentEmbedder
Expected behavior
Import works just fine
Additional context
No preprocessing was done.
To Reproduce
Create a databricks cluster with 14.3 ML LTS runtime, use default configuration, run pip install haystack-ai
System:
Databricks 14.3 LTS ML (runtime details are available in the official docs)
The text was updated successfully, but these errors were encountered:
masci
added
P1
High priority, add to the next sprint
P2
Medium priority, add to the next sprint if no P1 available
and removed
P1
High priority, add to the next sprint
labels
May 10, 2024
Describe the bug
I am trying to run a simple pipeline on Databricks ML runtime 14.3 LTS
I installed haystack using pip install haystack-ai and during import:
from haystack.components.embedders import SentenceTransformersDocumentEmbedder
Error message
ImportError: cannot import name 'Iterator' from 'typing_extensions' (/databricks/python/lib/python3.10/site-packages/typing_extensions.py)
File , line 12
10 from haystack.components.retrievers.in_memory import InMemoryEmbeddingRetriever
11 from haystack import Document
---> 12 from haystack.components.embedders import SentenceTransformersDocumentEmbedder
Expected behavior
Import works just fine
Additional context
No preprocessing was done.
To Reproduce
Create a databricks cluster with 14.3 ML LTS runtime, use default configuration, run pip install haystack-ai
FAQ Check
System:
Databricks 14.3 LTS ML (runtime details are available in the official docs)
The text was updated successfully, but these errors were encountered: