Created
August 9, 2023 17:38
-
-
Save EnkrateiaLucca/07a50304eafa50d059a7fed7db7994c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from langchain.document_loaders import PyPDFLoader | |
loader = PyPDFLoader('./jung1.pdf') | |
pdf_doc = loader.load_and_split() | |
for page in pdf_doc: | |
print(page.page_content) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment