Azure OpenAI Batch Processing Doesn't Work With Structured Response

Mike 5 Reputation points
2024-10-16T01:41:51.28+00:00

I am trying to batch process a large amount of data with the batch API and a structured response schema.

When I upload my batch file it validates and processes but the output file is always empty.

My structured response schema is about 90 properties so close to the limit.

If I run a smaller prompt with a small structured response of 5 properties then batch processing will complete.

If I run a single request with my full prompt and full schema it will complete but it takes a while to complete.

I am guessing here that batches have some sort of timeout value that my request hits but it doesn't get marked as failed it gets marked as completed with an empty file.

I have a large amount of data to process, I really need to use the batch API and my input is completely valid but it seems some internal bug is preventing it from working.

How do I report this bug and get it working?

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
4,080 questions
{count} vote

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 35,971 Reputation points Moderator
    2024-10-23T05:38:38.67+00:00

    Mike Apologies for the inconvenience caused.

    I have checked further and confirm that this issue is resolved. The doc has also been updated with more details.

    Structured outputs is now supported with Global Batch when used in conjunction with API version 2024-08-01-preview or later. Use 2024-10-01-preview for the latest features.

    I would request you kindly check now and confirm if you are still seeing the issue.


    If the response helped, please do click Accept Answer and Yes for was this answer helpful.

    Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.