From 691c251cb31dd652812be25a0a2242d7bb845dfd Mon Sep 17 00:00:00 2001 From: Stefano Fiorucci Date: Wed, 14 Feb 2024 10:18:40 +0100 Subject: [PATCH] Pinecone: fix imports in example (#398) * fix imports in example * fix lint --- integrations/pinecone/examples/example.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/integrations/pinecone/examples/example.py b/integrations/pinecone/examples/example.py index b2a534452..a10b951b5 100644 --- a/integrations/pinecone/examples/example.py +++ b/integrations/pinecone/examples/example.py @@ -15,8 +15,9 @@ from haystack.components.embedders import SentenceTransformersDocumentEmbedder, SentenceTransformersTextEmbedder from haystack.components.preprocessors import DocumentSplitter from haystack.components.writers import DocumentWriter -from pinecone_haystack import PineconeDocumentStore -from pinecone_haystack.dense_retriever import PineconeEmbeddingRetriever + +from haystack_integrations.components.retrievers.pinecone import PineconeEmbeddingRetriever +from haystack_integrations.document_stores.pinecone import PineconeDocumentStore file_paths = glob.glob("neural-search-pills/pills/*.md")