I develop in the PHP language and use openai with the gpt-4-turbo model.
I managed to upload a file to the API and received an ID of the file.
My question is how can I use this ID to continue a conversation with the chat in order to tell the chat to create questions for me about the contents of the file with the specific ID I received.
I’ve been sitting on this for a few days and can’t find a solution.
I would be very happy for a quick response.
Are you using an Assistant? Instead of uploading the file to the Knowledge Base, upload it to the Code Interpreter.
I find this type of task easier through the ChatGPT UI. Similarly upload the file to Code Interpreter to ask questions on the document.