dissorial / doc-chatbot

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

Unexpected token 'R', "Request En"... is not valid JSON when uploading #30

Open Doscadesa opened 1 year ago

Doscadesa commented 1 year ago

image

I am getting this error under 3 different circumstances.

1) When one of the attached docs is around 5-10 MB 2) When uploading more than 6 files (whatever the size) 3) When the size of the input files is higher than 7-8 MB whatever the number of files

For the first error I`ve changed the name of the doc -> split it

Splitting it has solved the issue, meaning is not based on the file specs (bad OCR, scanned or whatever). Is a nice and clean pdf with text (no tabs).

Any idea?

Wim182 commented 11 months ago

Did you find the answer for this matter?

kadlwise commented 2 months ago

I have the same issue putting this into chats