You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered the following error while running this code:
TypeError: PyPDFLoader.__init__() got an unexpected keyword argument 'mode'
It seems there is some inconsistency in the documentation, and I should use PyMuPDFLoader instead of PyPDFLoader, since it has parameters like "mode" and "pages_delimiter".
Could you please correct the documentation?
System Info
OS: Linux
OS Version: #1 SMP Wed Mar 2 00:30:59 UTC 2022
Python Version: 3.10.16 (main, Jan 14 2025, 05:29:27) [GCC 12.2.0]
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
Hi guys
I'm trying to use
PyPDFLoader
according to the official documentation.I encountered the following error while running this code:
It seems there is some inconsistency in the documentation, and I should use
PyMuPDFLoader
instead ofPyPDFLoader
, since it has parameters like "mode" and "pages_delimiter".Could you please correct the documentation?
System Info
Package Information
Optional packages not installed
Other Dependencies
Beta Was this translation helpful? Give feedback.
All reactions