openai-cookbook
openai-cookbook copied to clipboard
unhandled runtime error w/ nextjs-with-flask-server: str is undefined
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?