@@ -43,10 +43,10 @@ for traditional text-based retrieval.
4343The ` singlestore-haystack ` library enables SingleStore as
4444a [ DocumentStore] ( https://docs.haystack.deepset.ai/docs/document-store ) by implementing the
4545Haystack [ DocumentStore protocol] ( https://docs.haystack.deepset.ai/docs/document-store#documentstore-protocol ) methods.
46- Import the ` SingleStoreDocumentStore ` implementation from the ` singlestore_haystack ` package:
46+ Import the ` SingleStoreDocumentStore ` implementation from the ` haystack_integrations.document_stores. singlestore_haystack` package:
4747
4848``` python
49- from singlestore_haystack import SingleStoreDocumentStore
49+ from haystack_integrations.document_stores. singlestore_haystack import SingleStoreDocumentStore
5050```
5151
5252In addition to ` SingleStoreDocumentStore ` , the library includes the following haystack components which can be used in a
@@ -151,7 +151,7 @@ export S2_CONN_STR="singlestoredb://USER:PASSWORD@HOST:PORT"
151151```
152152
153153``` python
154- from singlestore_haystack import SingleStoreDocumentStore
154+ from haystack_integrations.document_stores. singlestore_haystack import SingleStoreDocumentStore
155155
156156document_store = SingleStoreDocumentStore(
157157 database_name = " haystack_db" , # The name of the database in SingleStore
@@ -252,7 +252,7 @@ from haystack import Document, Pipeline
252252from haystack.components.embedders import SentenceTransformersDocumentEmbedder
253253from haystack.components.writers import DocumentWriter
254254
255- from singlestore_haystack import SingleStoreDocumentStore
255+ from haystack_integrations.document_stores. singlestore_haystack import SingleStoreDocumentStore
256256
257257documents = [Document(content=" This is document 1" ), Document(content=" This is document 2" )]
258258
@@ -337,7 +337,8 @@ from typing import List
337337from haystack import Document, Pipeline
338338from haystack.components.embedders import SentenceTransformersDocumentEmbedder, SentenceTransformersTextEmbedder
339339
340- from singlestore_haystack import SingleStoreDocumentStore, SingleStoreEmbeddingRetriever
340+ from haystack_integrations.document_stores.singlestore_haystack import SingleStoreDocumentStore
341+ from haystack_integrations.components.retrievers.singlestore_haystack import SingleStoreEmbeddingRetriever
341342
342343document_store = SingleStoreDocumentStore(
343344 database_name=" haystack_db" , # The name of the database in SingleStore
0 commit comments