Extract information from PDF using Azure Open AI

Hello I am trying to extract information from Invoices (PDF format) using Azure Open AI connection. The generate chat activity works when I send text as an input. But I want to send document in either PDF/Image format so that structure of the document is intact. Can anyone suggest how I can achieve this?

Hi!

I see you’re posing the same question in Render PDF to Image - Help / Activities - UiPath Community Forum

Didn’t it work?

Hi, This was specific to Azure Open AI. I am using generate chat completion activity and sending the image data as base64string. But I am not getting desired response

Ah! Ok!

ARe you using this activity Activities - Generate Chat Completion (uipath.com)
or are you doing it via a http-request yourself?