diff --git a/content/blog/pdf-qa-application-with-bedrock/index.md b/content/blog/pdf-qa-application-with-bedrock/index.md index 6c0d6eb5..354d1346 100644 --- a/content/blog/pdf-qa-application-with-bedrock/index.md +++ b/content/blog/pdf-qa-application-with-bedrock/index.md @@ -93,7 +93,7 @@ from haystack import Pipeline from haystack.components.converters import PyPDFToDocument from haystack.components.preprocessors import DocumentCleaner, DocumentSplitter from haystack.components.writers import DocumentWriter -from haystack.document_stores import DuplicatePolicy +from haystack.document_stores.types import DuplicatePolicy from haystack_integrations.document_stores.opensearch import OpenSearchDocumentStore ## Initialize the OpenSearchDocumentStore diff --git a/content/blog/using-jina-embeddings-haystack/index.md b/content/blog/using-jina-embeddings-haystack/index.md index ea8fc9ba..c312096d 100644 --- a/content/blog/using-jina-embeddings-haystack/index.md +++ b/content/blog/using-jina-embeddings-haystack/index.md @@ -83,7 +83,7 @@ from haystack.components.writers import DocumentWriter from haystack.components.preprocessors import DocumentCleaner from haystack.components.preprocessors import DocumentSplitter from chroma_haystack.retriever import ChromaEmbeddingRetriever -from haystack.document_stores import DuplicatePolicy +from haystack.document_stores.types import DuplicatePolicy from jina_haystack.document_embedder import JinaDocumentEmbedder from jina_haystack.text_embedder import JinaTextEmbedder