pashpashpash / vault-ai

OP Vault ChatGPT: Give ChatGPT long-term memory using the OP Stack (OpenAI + Pinecone Vector Database). Upload your own custom knowledge base files (PDF, txt, epub, etc) using a simple React frontend.
https://vault.pash.city
MIT License
3.25k stars 306 forks source link

Error: 413 | Request body size exceeds the limit #69

Open Shubham-Khichi opened 1 year ago

Shubham-Khichi commented 1 year ago

Hi I am running the program locally and getting this error: Error: 413 | Request body size exceeds the limit whenever I upload a file of 26mb PDF. Please assist.

gianpaj commented 1 year ago

increase the limit on vault-web-server/postapi/fileupload.go

and restart the server npm run start

for example to increase to 300MB

image