Is it possible to extract PDF information using ChatGPT with UiPath by directly uploading the PDF file to ChatGPT via API?

Hello Team,

I was trying to extract information from a PDF file using the ChatGPT API, but I am getting the error below while making a POST call.

GET calls are working fine with the same authentication.

Is it possible to analyze the PDF by directly uploading it to ChatGPT (without reading the PDF in text first) using the API in UiPath? (In the UI, it’s possible.)

@Cristian_Negulescu @Palaniyappan @anders.larsson @nisargkadam23 @Lahiru.Fernando @marian.platonov

Here I have some stuff with ChatGPT and PDF extraction:

2 Likes

Hi @Akhil_Raveendran

You can use integration service but you would have to convert your pdf to jpeg

As for your error in postman it shows auth header missing have you added your api key in header?

yes, GET call is working fine without any issue .