Goal: upload a pdf file(openai) and have the next step create a completion have access to that file?
Steps done so far:
Download the file (using GDrive) > feeding link to “Create a Completion” (OpenAi)
Download the file (using GDrive) > Upload a file (using OpenAI) > fileId to “Create a Completion” (OpenAi)
I hope anyone can help me on how to do this properly.
I don’t think you can pass a link in the prompt to OpenAI’s models like that, since it’s not using ChatGPT/plugins.
The OpenAI “Upload a file” module is so new such that the Make documentation in the help center has not even been updated https://www.make.com/en/help/app/openai-dall-e-chatgpt – as such it’s still a wonder if anyone has even successfully used this module yet.
I used the new “Upload a File” action, that works fine. But how can I use the file within a following completion? I always get an answer like this: “I’m sorry for any confusion, but as an AI developed by OpenAI, I don’t have the capability to access external files or documents, including invoices or orders. Therefore, I cannot read or compare the documents you’re referring to.”
So with your method, you say that it’s only possible to upload via platform.openai.com, so the module UPLOAD in Make.com is completely useless ???!!!
The main idea is, for sure, to automate the file upload directly in MAKE.COM not via OpenAI platform…
Yes you can upload the file directly in Make in Upload a File Module of Open AI
Bu you have to make an Assistant for this and use Message an Assistant Module then put fileId in this module mapped from last module Upload a File
What I understand : I can only use a file uploaded in the platform.openai via an assistant (and call after in MAKE interface). This is not what I want.
What I want : to create a PDF file directly in MAKE (for example) and to use it without uploading it or whatever on another platform…
OK thanks, looking at the upload file module it doesnt actually which assistant to uploade the file to ? so im assuming here that a post needs to be done using the openai api module to make sure the file goes to the correct assistant ?
Upload file module only uploads your file to your organization. You can see these files https://platform.openai.com/files here.
BUT
Assistant API can not access these files for some reason and can not even list these files.
SO
Providing file ID in prompt will not give you any desired effect.
We need OpenAI modules in make.com to be able to attach files in our prompt, like OpenAI Analyse image module can attach images.
The only workaround for me is taking file (PDF) then convert it with PDF.co module to image and then analyze image with OpenAI