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

Difficult integration with langchain #124

Open
pprados opened this issue Dec 12, 2024 · 0 comments
Open

Difficult integration with langchain #124

pprados opened this issue Dec 12, 2024 · 0 comments

Comments

@pprados
Copy link

pprados commented Dec 12, 2024

Hello,

Zerox's latest langchain integration does not comply with best practices. The proposed API only accepts a file, not a blob.

Normally, for various reasons, a loader should be split into two parts: the loader and the parser. The parser should parse a blob (not a file). The loader loads the file and gives it to the parser.

Why is this? To be able to use Zerox from files directly retrieved from cloud storage, via the GenericLoader and CloudBlobLoader classes, without going through a temporary file.

The api must accept an array of bytes as input.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant