guangzhengli / ChatFiles

Document Chatbot — multiple files. Powered by GPT / Embedding.
MIT License
3.27k stars 488 forks source link

An error with your deployment FUNCTION INVOCATION TIMEOLJT #113

Open jmc-123 opened 1 year ago

jmc-123 commented 1 year ago

when deployed on vercel. I encounter error popup "An error with your deployment FUNCTION INVOCATION TIMEOLJT" after two conversation round. please fix it. Thanks.

guangzhengli commented 1 year ago

This error is caused by the timeout of Vercel serverless function: https://vercel.com/guides/what-can-i-do-about-vercel-serverless-functions-timing-out

guangzhengli commented 1 year ago

You can reduce the size of the uploaded file. If your upload time exceeds 10 seconds, it will trigger the Vercel timeout limit, or you can upgrade to Vercel Pro to increase the timeout to 30s.

Asunfly commented 1 year ago

我是在上传时没有报错,对话时弹窗报错,supabase的向量也保存成功了。就很奇怪。 image