From b5640a0883a77861c7d4762c92c90c6400a6538b Mon Sep 17 00:00:00 2001 From: Raghav Rawat <55054079+rawatraghav@users.noreply.github.com> Date: Tue, 26 Mar 2024 17:46:29 -0400 Subject: [PATCH] docs: Update apify.ipynb for Document class import (#19598) - **Description:** Update to correctly import Document class - from langchain_core.documents import Document - **Issue:** Fixes the notebook and the hosted documentation [here](https://python.langchain.com/docs/integrations/tools/apify) Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com> --- docs/docs/integrations/tools/apify.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/integrations/tools/apify.ipynb b/docs/docs/integrations/tools/apify.ipynb index 949bc93efad..96e2fef7a99 100644 --- a/docs/docs/integrations/tools/apify.ipynb +++ b/docs/docs/integrations/tools/apify.ipynb @@ -41,8 +41,8 @@ "outputs": [], "source": [ "from langchain.indexes import VectorstoreIndexCreator\n", - "from langchain_community.document_loaders.base import Document\n", - "from langchain_community.utilities import ApifyWrapper" + "from langchain_community.utilities import ApifyWrapper\n", + "from langchain_core.documents import Document" ] }, {