PyMuPDF
PyMuPDF
is optimized for speed, and contains detailed metadata about the PDF and its pages. It returns one document per page.
Overview
Integration details
Class | Package | Local | Serializable | JS support |
---|---|---|---|---|
PyMuPDFLoader | langchain_community | ✅ | ❌ | ❌ |
Loader features
Source | Document Lazy Loading | Native Async Support |
---|---|---|
PyMuPDFLoader | ✅ | ❌ |
Setup
Credentials
No credentials are needed to use the PyMuPDFLoader
.
If you want to get automated best in-class tracing of your model calls you can also set your LangSmith API key by uncommenting below:
# os.environ["LANGSMITH_API_KEY"] = getpass.getpass("Enter your LangSmith API key: ")
# os.environ["LANGSMITH_TRACING"] = "true"