How to extract text from image by using Chat GPT Analyze image

Hello I don’t know what wrong with this error Why chat gpt not read my image :folded_hands: :sob:

Please

You’re mapping the Messenger message ID as an Image File, but OpenAI Vision requires actual binary image data, not an ID or reference.

:hammer_and_wrench:

How to Fix It

:repeat_button: Correct Setup Steps:

Step 1: Add HTTP “Get a file” Module

You need to retrieve the actual image binary before sending it to OpenAI.

Add a new module between Messenger and OpenAI.

Choose HTTP > Get a file.

In the URL field, map the Messenger message’s attachment URL (if it’s an image).
It’s usually look like this:

----> Message > Attachments > Payload > URL
This will return the binary data of the image.

Step 2: Reconfigure the OpenAI Module

Now in the OpenAI module, under Images > Image File,
choose Map, then select the binary output from the HTTP Get a file module.

It should look like
------> Data (Binary)

Make sure “How would you like to specify an image?” is set to:
---->Image File > Map

1 Like

You need to download the file from wherever it is currently.

Do the following:

  1. Add the http download module between the router and the Analyse image module.
  2. Map the downloaded image directly to the Analyse image module.
1 Like

Thankyou very much Let me try it

Thankyou very much Let me take my time to try it

I try it already It work I really Thankyou very much :folded_hands:

I have another question If the customer send me the 3 picture in the same time

Chat GPT only read 1st picture
Chat GPT not read second third picture

How to make Chat GPT read second third picture :folded_hands:

You have to use an iterator for it to read all the images.

1 Like

It still read only 1 picture