Structured Output in gpt-4o-mini

Michael Wang 5 Reputation points
2024-08-23T16:44:08.53+00:00

I was attempting to test the structured outputs feature from this article, specifically the MathReasoning example:
https://platform.openai.com/docs/guides/structured-outputs/introduction

I was using the gpt-4o-mini deployment from Azure AI Studio and constantly getting the following error:

Error code: 400 - {'error': {'message': "Invalid parameter: 'response_format' must be one of 'json_object', 'text'.", 'type': 'invalid_request_error', 'param': 'response_format', 'code': None}}

I searched online and found someone that said that Azure Studio doesn't support this feature yet (including json schema) and I was wondering if this is true or not.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,831 questions
0 comments No comments
{count} vote

6 answers

Sort by: Most helpful
  1. ChrisH 36 Reputation points
    2024-09-17T19:34:16.9533333+00:00

    Any updates on an ETA for mini?

    1 person found this answer helpful.
    0 comments No comments

  2. Andrey Lukin 5 Reputation points
    2024-09-27T18:29:54.8066667+00:00

    Hi, any updates on the ETA for structured output in azure?

    TIA!

    1 person found this answer helpful.
    0 comments No comments

  3. YutongTie-MSFT 51,501 Reputation points
    2024-08-24T10:02:50.85+00:00

    Hello @Michael Wang

    Thanks for reaching out to us.

    A quick answer to your question -

    It is true. This feature is not yet available in Azure at this moment, however, it will be here soon. We don't have an ETA now.

    I hope this helps.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.


  4. Gyan Veda 5 Reputation points
    2024-09-30T14:52:04.2933333+00:00

    Any updates for Structured Outputs for mini? It'd be super helpful, thank you!

    0 comments No comments

  5. Jannis W 0 Reputation points
    2024-09-30T14:59:56.7266667+00:00

    +1, any updates @YutongTie-MSFT ?

    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.