Skip to content

Commit

Permalink
Switch to langchain_community (#758)
Browse files Browse the repository at this point in the history
* Switch to langchain_community

PyPDFLoader was still using langhain instead of lanhchain.community, this has been replaced.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
srdas and pre-commit-ci[bot] authored Apr 29, 2024
1 parent 9b7fb26 commit f956195
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from typing import List

import dask
from langchain.document_loaders import PyPDFLoader
from langchain.schema import Document
from langchain.text_splitter import TextSplitter
from langchain_community.document_loaders import PyPDFLoader


# Uses pypdf which is used by PyPDFLoader from langchain
Expand Down

0 comments on commit f956195

Please sign in to comment.