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

Add the possibility to upload PDFs in the front part of the application to read it #17

Open
maxime-dlabai opened this issue Mar 22, 2023 · 5 comments

Comments

@maxime-dlabai
Copy link

maxime-dlabai commented Mar 22, 2023

Create on the front end the possibility to upload a PDF file for example with the following procedure:

  • Parsing the file to read it
  • Split content to respect "limit" of tokens for model to send.
  • To be able to make queries on the elements of the document from the prompt.
@maxime-dlabai
Copy link
Author

(Of course it's not critical but it would really be a plus on the front)

@nsarrazin
Copy link
Member

Yeah that would be super useful agreed! I think we need to implement a LangChain integration (see #4) in order to do this the easy way and not reinvent the wheel.

I will try to work on this in the near future

@maxime-dlabai
Copy link
Author

I'll look into the LangChain integration on my end, if I can help.

@nsarrazin
Copy link
Member

For sure, feel free to share your findings

@lee-b
Copy link

lee-b commented Apr 10, 2023

The models usually can't actually read very much without forgetting what they already read. You might be able to upload a page or two, but for that much you could probably copy and paste just as easily.

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

4 participants