This turned out to hold the solution for me:
Maybe instead of Create and Parse JSON in your Iterator-Aggregator loop,
You can try setting the Target Structure field of your aggregator to the Images field (it might or might not work sometimes).
The Array Aggregator module also 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:
[Screenshot_2024-01-17_100113]
As you can see, the “Ma…
You can set the target structure for your aggregator module to the Images field for OpenAI:
Then in the OpenAI module, select Map, and choose the output of your aggregator module:
Unfortunately, that approach doesn’t work for Anthropic, due to the structure of the request body. I’ll report back in this thread if I find an approach that works.
2 Likes