Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add PDF File Input and API Support #15

Open
sanjeevmurmu opened this issue Apr 21, 2024 · 2 comments
Open

Feature Request: Add PDF File Input and API Support #15

sanjeevmurmu opened this issue Apr 21, 2024 · 2 comments

Comments

@sanjeevmurmu
Copy link

Description
Currently, the website and API only supports text input in the form of JSON. However, it would be beneficial to have the ability to input PDF files and send them through the API for processing.

Proposed Solution

  1. PDF File Input: Add a new file input field or drag-and-drop area to allow users to upload PDF files directly into the application.

  2. API Support for PDF Files: Extend the existing API endpoints to accept PDF file uploads and process them accordingly. This could involve converting the PDF to text or images, depending on the use case.

@joschan21, I would like to work on this if you approve of this feature.

@DadiBit
Copy link

DadiBit commented Apr 23, 2024

It could be a nice feature, however I think there are two points:

  • should pdf be "OCRed"? I think OCR is beyond the scope of this api
  • we need to fix long text validation first

@sanjeevmurmu
Copy link
Author

Thank you for the feedback.
I understand now that fixing long text validation is our priority now. I will start looking into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants