Next.js Discord

Discord Forum

How do y'all like to handle large file uploads?

Answered
Pacific anchoveta posted this in #help-forum
Open in Discord
Pacific anchovetaOP
I understand that request payloads are capped at 4.5mb. I'm trying to upload large documents for RAG. Right now I'm thinking I need to put the file into blob storage somehow and then process the file on the server into the vectorDB. I'm assuming there's a way to process a large file from upload into the vectorDB directly.
Answered by Pacific anchoveta
Just found this page that solves the Blob upload https://vercel.com/docs/storage/vercel-blob/client-upload
View full answer

1 Reply

Pacific anchovetaOP
Just found this page that solves the Blob upload https://vercel.com/docs/storage/vercel-blob/client-upload
Answer