Closed Sim0n18 closed 7 months ago
After a lot of research i found the issue. I just imported it from the wrong directory. Autoimports can trick you. As you can see in the screenshot it was imported from "langchain/dist/document_loaders/fs/pdf" But you need to import it from "langchain/document_loaders/fs/pdf" so without the dist.
I already tried many solutions from other github issues but nothing seems to work for me.
The error looks like this:
Does anyone know how to fix this? I tried using the WebPDFLoader, it didn't gave me an error but it didn't work neither.