dissorial / doc-chatbot

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

Error when uploading files deployed in Azure web app. #26

Closed kevinbaroro closed 1 year ago

kevinbaroro commented 1 year ago

Hi @dissorial, I know this question is out of context but would be really be happy if you know why this errors persist? I tried to deploy doc-chatbot in an Azure web app and I get this error when uploading files. Thank you.

  1. API resolved without sending a response for /api/upload, this may result in stalled requests.
  2. error - unhandledRejection: Error: EXDEV: cross-device link not permitted, rename '/tmp/80zJfS6ogGLdDgG39JsfUzzJ.pdf' -> '/home/site/wwwroot/tmp/The 7 Alternative.pdf'
kevinbaroro commented 1 year ago

I have updated the upload.ts file to use the development code when moving file.

dissorial commented 1 year ago

See my reply to issue #31