nlmatics / llmsherpa

Developer APIs to Accelerate LLM Projects
https://www.nlmatics.com
MIT License
1.38k stars 134 forks source link

Parsing bytes-like objects directly #15

Closed moshewe closed 11 months ago

moshewe commented 11 months ago

Hi,

I've been experimenting with llmsherpa with a small streamlit app to which I upload PDFs, and I saw that I can't use the uploaded files (which are bytes-like) directly.

I have code to handle that directly, though I wonder if this feature is needed by anyone else... If there's interest I can open a PR.

ansukla commented 11 months ago

Hi @moshewe,

That'd be a great addition! Please open a PR.

ansukla commented 11 months ago

Thanks for the contribution @moshewe. Closing this PR.