I’m seeking guidance on how to utilize the OpenAI API to upload a PDF file for analysis. My goal is to enable OpenAI to analyze the PDF content, allowing me to subsequently pose questions related to that content, akin to the interactive querying process available in the ChatGPT GUI. How can I integrate PDF file uploading and analysis with OpenAI’s API to achieve this functionality?
I managed to upload a PDF file using the method specified here. However, I’m unsure how to proceed with asking questions about the content of the uploaded PDF. Any suggestions on how to accomplish this?
Jigar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.