diff --git a/integrations/fastembed/src/haystack_integrations/components/embedders/fastembed/fastembed_sparse_document_embedder.py b/integrations/fastembed/src/haystack_integrations/components/embedders/fastembed/fastembed_sparse_document_embedder.py index 690b59743..4b72389fa 100644 --- a/integrations/fastembed/src/haystack_integrations/components/embedders/fastembed/fastembed_sparse_document_embedder.py +++ b/integrations/fastembed/src/haystack_integrations/components/embedders/fastembed/fastembed_sparse_document_embedder.py @@ -159,7 +159,7 @@ def run(self, documents: List[Document]): embeddings = self.embedding_backend.embed( texts_to_embed, batch_size=self.batch_size, - show_progress_bar=self.progress_bar, + progress_bar=self.progress_bar, parallel=self.parallel, ) diff --git a/integrations/fastembed/src/haystack_integrations/components/embedders/fastembed/fastembed_sparse_text_embedder.py b/integrations/fastembed/src/haystack_integrations/components/embedders/fastembed/fastembed_sparse_text_embedder.py index 47f3bbcd9..67348b2bd 100644 --- a/integrations/fastembed/src/haystack_integrations/components/embedders/fastembed/fastembed_sparse_text_embedder.py +++ b/integrations/fastembed/src/haystack_integrations/components/embedders/fastembed/fastembed_sparse_text_embedder.py @@ -111,7 +111,7 @@ def run(self, text: str): embedding = self.embedding_backend.embed( [text], - show_progress_bar=self.progress_bar, + progress_bar=self.progress_bar, parallel=self.parallel, )[0] return {"sparse_embedding": embedding} diff --git a/integrations/fastembed/tests/test_fastembed_sparse_document_embedder.py b/integrations/fastembed/tests/test_fastembed_sparse_document_embedder.py index 026ef4285..b4caca364 100644 --- a/integrations/fastembed/tests/test_fastembed_sparse_document_embedder.py +++ b/integrations/fastembed/tests/test_fastembed_sparse_document_embedder.py @@ -270,7 +270,7 @@ def test_embed_metadata(self): "meta_value 4\ndocument-number 4", ], batch_size=32, - show_progress_bar=True, + progress_bar=True, parallel=None, )