OpenAi generating many responses ~ 3x operation cost

Hello

How do I send an array of images to GPT vision

I tried making 3 items, but it performed 3 operations, and generated 3 different outputs

I only want it to take the 3 images 1 time, not to take 3 images, 3 times, how do I fix this issue?

Screenshot 2024-02-12 142953

Hi @Abed_Malak

Please turn on the map button and map your array of “URLs” in the field. you don’t need to pass each url as a separate item.

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

2 Likes

image
You can see the format of the URL ( previous image )

how do I map them, I will transfer money if needed to fix this issue

image
Like this isn’t working, what is the better way

@Abed_Malak

Please map like this:
image

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

2 Likes

the only available support is tomorrow, I need to fix the issue now, how can I pay you so we fix this issue together

1 Like

Issue got resolved thanks to MSQUARE Automation! After 2 days of trying to figure it out, they solved it in 5 minutes

Every result (item/record) from a search/match module will output a bundle. To “combine” them into a single structure, you’ll need to use an aggregator of some sort.

Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module.

The Array Aggregator module allows you to build a complex array of collections for a later module’s field to map multiple items (collections) to it.

Here is an example of using the “Target structure type” of an Array Aggregator module:

As you can see, the “Map” toggle on fields are used when you have an array. You can easily build an array variable to map to a field, by using an Array Aggregator module and select the “Target Structure Type” as the future field you want to map the array into.

2 Likes