From a7011ec321e4b39fb641a829aa667c351e46f449 Mon Sep 17 00:00:00 2001 From: Massimiliano Pippi Date: Mon, 22 Jan 2024 17:24:08 +0100 Subject: [PATCH] Update jina-embeddings-v2-legal-analysis-rag.ipynb --- notebooks/jina-embeddings-v2-legal-analysis-rag.ipynb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/notebooks/jina-embeddings-v2-legal-analysis-rag.ipynb b/notebooks/jina-embeddings-v2-legal-analysis-rag.ipynb index 3730544..8dc9c1c 100644 --- a/notebooks/jina-embeddings-v2-legal-analysis-rag.ipynb +++ b/notebooks/jina-embeddings-v2-legal-analysis-rag.ipynb @@ -116,7 +116,7 @@ }, "outputs": [], "source": [ - "from chroma_haystack.document_store import ChromaDocumentStore\n", + "from haystack_integrations.document_stores.chroma import ChromaDocumentStore\n", "document_store = ChromaDocumentStore()" ] }, @@ -139,11 +139,11 @@ "from haystack.components.writers import DocumentWriter\n", "from haystack.components.preprocessors import DocumentCleaner\n", "from haystack.components.preprocessors import DocumentSplitter\n", - "from chroma_haystack.retriever import ChromaEmbeddingRetriever\n", + "from haystack_integrations.components.retrievers.chroma import ChromaEmbeddingRetriever\n", "from haystack.document_stores.types import DuplicatePolicy\n", "\n", - "from jina_haystack.document_embedder import JinaDocumentEmbedder\n", - "from jina_haystack.text_embedder import JinaTextEmbedder\n", + "from haystack_integrations.components.embedders.jina import JinaDocumentEmbedder\n", + "from haystack_integrations.components.embedders.jina import JinaTextEmbedder\n", "\n", "fetcher = LinkContentFetcher()\n", "converter = PyPDFToDocument()\n", @@ -207,7 +207,7 @@ "from haystack.components.generators import HuggingFaceTGIGenerator\n", "from haystack.components.builders.prompt_builder import PromptBuilder\n", "\n", - "from jina_haystack.text_embedder import JinaTextEmbedder\n", + "from haystack_integrations.components.embedders.jina import JinaTextEmbedder\n", "prompt = \"\"\" Answer the question, based on the\n", "content in the documents. If you can't answer based on the documents, say so.\n", "\n",