langflow-ai / langflow

Langflow is a low-code app builder for RAG and multi-agent AI applications. It’s Python-based and agnostic to any model, API, or database.
http://www.langflow.org
MIT License
35.41k stars 4.22k forks source link

Improve PDF parsing results for a broader range of documents #4710

Open erichare opened 5 days ago

erichare commented 5 days ago

Feature Request

Users have reported less-than-ideal results with PDF parsing in the File Upload component. Under the hood, we essentially use pypdf and join together the elements returned, but do no further processing and don't allow any configuration of the parameters.

Motivation

This issue is meant to track improvements that could be made, which could range from exploring other libraries, exposing more configuration options, or implementing some custom routines that produce a better set of outputs when parsing PDFs.

Your Contribution

I can track some potential improvements and ultimately work on a PR