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: support reading in from Vec<u8> for file/pdf loaders #291

Open
1 task done
joshua-mo-143 opened this issue Feb 10, 2025 · 0 comments
Open
1 task done

feat: support reading in from Vec<u8> for file/pdf loaders #291

joshua-mo-143 opened this issue Feb 10, 2025 · 0 comments

Comments

@joshua-mo-143
Copy link
Contributor

joshua-mo-143 commented Feb 10, 2025

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

Feature Request

Support reading in from Vec<u8> (or other similar type) for file loaders.

This will unlock use cases that either require storing the file in memory using a byte array, or where space is constrained and the user would be unable to store the file locally.

Motivation

Anywhere where the user would not be able to store the file on-disk and need to store it in memory as a byte array.

Proposal

Potentially, a new generic trait that allows for loading in of a Vec<u8> using the given libraries.

Do we want to refer to #161 ?

Alternatives

none

@joshua-mo-143 joshua-mo-143 changed the title feat: support reading in from Vec<u8> for file loaders feat: support reading in from Vec<u8> for file/pdf loaders Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant