process multiple pdf text and give solution/answer of given query using chatgpt in 100% offline without internet. give all steps and dependencies
Loading...
in windows 10
The code returns the following error:
Error processing PDFs: require is not defined at Module.POST (/app/api/process-pdfs/route) at async handleFileUpload (/app/page)
Revise the code to address the error.
I was previewing: /