diff --git a/packages/jupyter-ai/jupyter_ai/document_loaders/directory.py b/packages/jupyter-ai/jupyter_ai/document_loaders/directory.py index b377cbdd7..876b62c2e 100644 --- a/packages/jupyter-ai/jupyter_ai/document_loaders/directory.py +++ b/packages/jupyter-ai/jupyter_ai/document_loaders/directory.py @@ -5,7 +5,7 @@ from typing import List import dask -from langchain.document_loaders import PyPDFLoader +from langchain_community.document_loaders import PyPDFLoader from langchain.schema import Document from langchain.text_splitter import TextSplitter