Skip to content

Instantly share code, notes, and snippets.

@abhijeet-talaulikar
Created August 6, 2023 14:24
Show Gist options
  • Save abhijeet-talaulikar/a7c7f2304cd1ba39f1c3cb1e32d4369f to your computer and use it in GitHub Desktop.
Save abhijeet-talaulikar/a7c7f2304cd1ba39f1c3cb1e32d4369f to your computer and use it in GitHub Desktop.
### Read text from PDF file ###
def read_pdf(file):
loader = OnlinePDFLoader(file)
documents = loader.load()
return documents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment