Skip to content

Adding image concatenation for large PDFs #4

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bbaros
Copy link

@bbaros bbaros commented May 20, 2025

Adding a new feature that sets the max of pages that the plugin will return by concatenating images as needed.

In my experience, OpenAI has a 50 image limit, and this is one way to go around it.

I've tested this with PDFs up to 200 pages. Not sure at what level is the image produced too big for the API or when the image itself will be too large for model to distil (assuming that there's an internal resolution limit).

@bbaros bbaros marked this pull request as ready for review May 20, 2025 17:41
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

Successfully merging this pull request may close these issues.

1 participant