-
Notifications
You must be signed in to change notification settings - Fork 38
feat: add mineru for document parsing tool #181
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
Conversation
Preview Image LabelPreview Images for this PR are:
|
为什么要分本地部署和官方两个工具呢?传入不同的 base_url 和 key 就行了吧 |
其实是为了区分本地部署和官方API的参数,合并在一起的话,有些参数是多余的。 本地部署的代码并不多,我考虑看看要不要合在一起吧。 |
@FinleyGe 老哥再 review 看看? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds the MinerU document parsing tool integration to the project, providing both SaaS and locally deployed parsing capabilities for various document formats including PDF, DOC, DOCX, PPT, PPTX, and images.
- Adds a new tool package for MinerU document parsing with comprehensive configuration options
- Implements two parsing methods: remote SaaS service and local deployment API
- Provides extensive language support and customizable parsing features
Reviewed Changes
Copilot reviewed 10 out of 12 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
modules/tool/packages/mineru/package.json | Package configuration with dependencies for JSZip and Zod |
modules/tool/packages/mineru/index.ts | Main export entry point for the tool set |
modules/tool/packages/mineru/config.ts | Tool set configuration with metadata and secret inputs |
modules/tool/packages/mineru/children/parseRemote/* | Remote SaaS parsing implementation with full API integration |
modules/tool/packages/mineru/children/parseLocal/* | Local deployment parsing implementation using API v2 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@c121914yu Ready for review. |
No description provided.