As are many of you, I’m running into the 100 RPD limit with the Vision preview API. OpenAI suggests we use batching to make more use of the 100 requests, but I can’t find any example of how to batch this type of request (the example here doesn’t seem relevant).
I’ve tried passing an array of messages, but in that case only the last one is processed.
Has anybody managed to batch Vision Preview requests and, if so, can you give some pointers?
Many thanks for your response. This isn’t quite what I had in mind, though.
I have tried sending multiple images, as in your example, but the result will be to have a single response (useful for, as in your prompt example, comparing two or more images). But I want to send many separate requests in one (i.e. sending 10 requests and expecting 10 responses). This seems to be implied in the batching advice under the rate limiting page I linked to, but I haven’t found a way to do it.
Perhaps I could craft a prompt to force this single request with multiple images to separate its response per image sent (as JSON) but that would be a hacky and so less robust way of doing things.