-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Extroactor pdf 2 image #11909
Open
ic-xu
wants to merge
16
commits into
langgenius:main
Choose a base branch
from
ic-xu:extroactor_pdf_2_image
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Extroactor pdf 2 image #11909
+199
−12
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat: add extractor image support in DocumentExtractorNode
feat: add extractor image support in DocumentExtractorNode
feat: output format
dosubot
bot
added
size:L
This PR changes 100-499 lines, ignoring generated files.
🌊 feat:workflow
Workflow related stuff.
💪 enhancement
New feature or request
labels
Dec 20, 2024
feat: output format
feat: reformat
feat: reformat
hjlarry
reviewed
Dec 20, 2024
feat: reformat
feat: reformat
feat: reformat
feat: reformat
feat: remove bugs
crazywoola
previously approved these changes
Dec 27, 2024
fix:: Missing return statement [return]
Adding a special case for PDF - Image in the Document Extractor might confuse users. I think this feature should be implemented as a Tool. Additionally, models that excel at image recognition, such as Gemini and Claude, also support direct PDF input. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
💪 enhancement
New feature or request
🌊 feat:workflow
Workflow related stuff.
lgtm
This PR has been approved by a maintainer
size:L
This PR changes 100-499 lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Many friends chat with the large model by uploading PDFs. The current approach is to extract the text content from the PDF and input it into the model. We found that this method might lose some important information in the PDF, such as layout, tables, and even the relationships between elements. I hope to input as much information as possible into the model, so I created a feature to convert PDFs to images for input.
Tip
Close issue syntax:
Fixes #<issue number>
orResolves #<issue number>
, see documentation for more details.Screenshots
Checklist
Important
Please review the checklist below before submitting your pull request.
dev/reformat
(backend) andcd web && npx lint-staged
(frontend) to appease the lint gods