openai-cookbook
openai-cookbook copied to clipboard
Chatbot Kickstarter: Issue following demo
Hi, I am running the Jupyter notebook locally for the subject app. I am running Pyhton 3.9.16 and have installed and imported all packages necessary. I am having an issue running the Ingestion step where we're initializing the tokenizer and processing the pdf's (the entire error is attached): TypeError: expected str, bytes or os.PathLike object, not NoneType I am confident that the "pdf_path" is not a NoneType error_chatbot_kickstarter.txt
Same here, [Enviroment] Python 3.11 Windows 11 VS code
I checked the variable 'pdf_path' which has assign the .pdf path
But when I run text = textract.process(pdf_path, method='pdfminer')
it have TypeError: expected str, bytes or os.PathLike object, not NoneType
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.
Hello! Thank you for flagging. We'll be giving this demo a revamp soon. Closing this in the meantime.