Jordan-Gilliam / ai-template

Mercury - Train your own custom GPT. Chat with any file, or website.
The Unlicense
422 stars 66 forks source link

Fail to upload the pdf from the frontend , it said fail log backend error #7

Open eu09 opened 1 year ago

eu09 commented 1 year ago

Hi , When I upload the file in pdf format which is the size in 3.5Mb , it spend like a hour then it will apprear following error.

Sometime like this Error [Error: PineconeClient: Error calling upsert: Error: PineconeClient: Error calling upsertRaw: FetchError: The request failed and the interceptors did not return an alternative response] error - [Error: Failed to ingest your data] { page: '/api/embed-file' } wait - compiling /_error (client and server)... event - compiled client and server successfully in 176 ms (2430 modules)

Sometime like this error [TypeError: Converting circular structure to JSON --> starting at object with constructor 'Socket' | property 'parser' -> object with constructor 'HTTPParser' --- property 'socket' closes the circle] error - [Error: Failed to ingest your data] { page: '/api/embed-file' }

I already using another of ur branch /feature/animate

meanwhile when I ask the questions from the query page , it resposne a error message error [TypeError: stream.getReader is not a function]