marella / chatdocs

Chat with your documents offline using AI.
MIT License
696 stars 101 forks source link

Upload document function and embeddings processing in web ui #6

Open janhp opened 1 year ago

janhp commented 1 year ago

Dear Dev,

It would be great to have a sidebar in the web UI with the ability to upload directly (dragn'drop) and start processing embeddings. After that, a prompt with a "reload web ui" button would be the perfect workflow for adding new documents on the fly.

Highly appreciated :)

marella commented 1 year ago

Hi, the reason I haven't added it is because web UI doesn't have access to the native filesystem and uploading documents would be inefficient as it will have to create temporary files for each uploaded document while processing. I'm trying to find a better way to handle this.