openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

nextjs-with-flask-server: Error when asking a question (undefined object evaluating 'props.files.length')

Open lh8 opened this issue 2 years ago • 1 comments
trafficstars

Using the File Q&A client, I successfully upload a PDF file (and confirm the vector has arrived in Pinecone) I then ask a question via the File Q&A client and receive the error in the client…

Unhandled Runtime Error TypeError: undefined is not an object (evaluating 'props.files.length') Call Stack
FileViewerList@ dispatchEvent [native code] performConcurrentWorkOnRoot [native code]

File: https://robodebt.royalcommission.gov.au/system/files/2023-02/transcript-hearing-day-28-31-january-2023.pdf Question: Who attended?

lh8 avatar Feb 17 '23 22:02 lh8

FYI @isafulf

ted-at-openai avatar Feb 22 '23 17:02 ted-at-openai