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

feat: loader for epubs #160

Open
1 of 2 tasks
0xMochan opened this issue Dec 19, 2024 · 0 comments
Open
1 of 2 tasks

feat: loader for epubs #160

0xMochan opened this issue Dec 19, 2024 · 0 comments
Labels

Comments

@0xMochan
Copy link
Contributor

0xMochan commented Dec 19, 2024

  • I have looked for existing issues (including closed) about this

Feature Request

Add a loader type that can work with the EPUB format (ebook format).

Motivation

Oftentimes, PDFs are unreliable format for loading. While it is the most common and likely will be continued to be used, adding more loader types adds flexibilities in people's abilities to construct RAGs.

Proposal

  • Create a new loader type (rig-core/src/loaders/epub.rs) EpubFileLoader

Alternatives

  • Use a Epub -> PDF converter before using PdfFileLoader

Notes

  • If this introduces a new dependency, it should add it as an optional feature (similar to the lopdf lib) and only just include the epub.rs loader if that feature is selected!
@0xMochan 0xMochan changed the title feat: EPubLoader feat: EpubLoader Dec 19, 2024
@0xMochan 0xMochan changed the title feat: EpubLoader feat: loader for epubs Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant