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

unhandled runtime error w/ nextjs-with-flask-server: str is undefined

Open Robert-Keyser-Septerna opened this issue 1 year ago • 0 comments

Hello, I setup this demo and am able to run the app. It will accept a pdf and make the api call to create the embeddings. But when I ask a question, there is an unhandled runtime error: TypeError: str is undefined. The source is client/src/services/util.ts - line 8.

It seems to persist after restarting the app and with 2 different pdfs.

I really appreciate the examples, but I'm not familiar with the structure of apps like this and it's difficult to troubleshoot. Any suggestions?

Robert-Keyser-Septerna avatar Mar 23 '23 20:03 Robert-Keyser-Septerna