Skip to content
How to integrate PD...
 
Notifications
Clear all

How to integrate PDFs with OpenAI (Solution!)

20 Posts
9 Users
0 Reactions
9 Views
samliew
(@samliew)
Posts: 293
Reputable Member
 

No, the file is not generated in step 6. The initial “red line” indicates the assistant ID, which has been redacted. The subsequent “red line” likely represents a private instruction within the prompt that can be excluded.

The file is referenced in step 7 by the vector store it was uploaded to:

Screenshot_2024-07-29_130717

If you have a new question in the future, please start a new thread.

While it might seem convenient to continue an existing thread, creating a new topic is a more effective approach. This helps other community members respond to your query and keeps our forum organized for everyone. Starting a new conversation also increases the likelihood of receiving assistance from others. You can direct others to a related topic by including its link in your question. Thank you for your understanding and for helping maintain our community's tidiness.

The “New Topic” link is located in the top-right corner of the header:

samliewrequest private consultation

Join the callin.io Fans Discord server to chat with other makers!

 
Posted : 29/07/2024 5:14 am
Mit
 Mit
(@mit)
Posts: 10
Active Member
Topic starter
 

Samliew's reply is accurate. I've just removed some specific details.

My request was for a client, and I preferred not to share those specifics publicly.

Additionally, as mentioned previously, you'll need to utilize the OpenAI API call to delete the file. The OpenAI platform should offer more details beyond what's already been discussed.

 
Posted : 29/07/2024 8:18 am
Joost.7AM
(@joost-7am)
Posts: 1
New Member
 

you can even do it like this:

Scherm­afbeelding 2024-08-10 om 11.24.38

Use the body id, of the uploaded file.

 
Posted : 10/08/2024 9:27 am
Attila
(@attila)
Posts: 1
New Member
 

Thanks a lot for sharing this scenario!

I was able to read PDFs in my callin.io scenarios. Now I am facing a problem: It seems that previous PDFs are getting analyzed, and therefore the output is completely wrong.
How can I ensure only the newest uploaded files are analyzed??

Could it be that I would have to delete all previous files? So, adding the Delete File node mentioned above at the end of my scenario?!

Thanks in advance!

 
Posted : 16/09/2024 7:19 am
Mit
 Mit
(@mit)
Posts: 10
Active Member
Topic starter
 

Glad it helped.

I guess you make it so you specifically reference and name just that file.

OR

In your vector storage, just store that one file. So every time your scenario is completed, it deletes the file. So start with an empty storage, and as part of your scenario, you upload, read, etc., then delete it afterward. This will also mean you don’t end up paying for storage you don’t really need.

 
Posted : 16/09/2024 8:39 am
Page 2 / 2
Share: