Skip to main content
This loader loads all PDF files from a specific directory.

Overview

Integration details

Loader features

Setup

Credentials

No credentials are needed for this loader. To enable automated tracing of your model calls, set your LangSmith API key:

Installation

Install langchain-community.

Initialization

Now we can instantiate our model object and load documents:

Load

Lazy Load


API reference

For detailed documentation of all PyPDFDirectoryLoader features and configurations head to the API reference: python.langchain.com/api_reference/community/document_loaders/langchain_community.document_loaders.pdf.PyPDFDirectoryLoader.html
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.