easy-dataset icon indicating copy to clipboard operation
easy-dataset copied to clipboard

Fix: local mineru with easy dataset

Open sunpcaudio2note opened this issue 3 months ago • 2 comments

Change Type

  • [ ] New Feature (feat)
  • [x] Bug Fix (fix)
  • [ ] Documentation (docs)
  • [ ] Refactor (refactor)

Change Description

  • Fixed an issue where text chunks were not displayed after PDF files were processed by the local mineru-api in the easy-dataset application.
  • The root cause was lib/file/text-splitter.js incorrectly handling absolute file paths returned by mineru-local.js, leading to a "file does not exist" error.
  • The solution involves modifying lib/file/text-splitter.js to correctly identify and process absolute paths.
  • Removed console.log statements added during debugging.

Documentation Updates

  • [ ] README.md
  • [ ] Contribution Guide
  • [ ] API Documentation (if any)

sunpcaudio2note avatar Sep 12 '25 14:09 sunpcaudio2note

Deploy Preview for gleeful-palmier-13a6af ready!

Name Link
Latest commit cc719c57b65a6d29f205674a56eb61fc17dbefd3
Latest deploy log https://app.netlify.com/projects/gleeful-palmier-13a6af/deploys/68c47e250af9ad0008428339
Deploy Preview https://deploy-preview-544--gleeful-palmier-13a6af.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Sep 12 '25 14:09 netlify[bot]

@sunpcaudio2note Hello, please submit your PR to the DEV branch first.

ConardLi avatar Sep 26 '25 14:09 ConardLi