dissorial / doc-chatbot

Document chatbot — multiple files, topics, chat windows and chat history. Powered by GPT.
813 stars 137 forks source link

Can't Uploading files above 8mbs #38

Closed Alscof closed 1 year ago

Alscof commented 1 year ago

It seems it's uploading only very small files. It will be awesome if also you fixed the previous authenticated version. Like upload both the old and new versions. Also It's not good at answering slight broad questions which makes it seem dumb or useless at times. But thanks for the update.

dissorial commented 1 year ago

Yes, I implemented a limit on file size for the deployed version. If you are running this locally, you can change the maximum file size for uploads. As for answering broader questions -- I suggest playing around with the prompt, chunk length, chunk overlap, and model temperature.

0xMarsRover commented 1 year ago

where can I change the maximum file size for uploads? Thanks

0xMarsRover commented 1 year ago

Just modified the nginx conf and the it works. client_max_body_size 50m; client_body_buffer_size 50m;