Structured Output in gpt-4o-mini

Michael Wang 45 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.
3,602 questions
{count} votes

10 answers

Sort by: Most helpful
  1. Gyan Veda 20 Reputation points
    2024-09-30T14:52:04.2933333+00:00

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

    2 people found this answer helpful.
    0 comments No comments

  2. Jannis W 10 Reputation points
    2024-09-30T14:59:56.7266667+00:00

    +1, any updates @YutongTie-MSFT ?

    2 people found this answer helpful.
    0 comments No comments

  3. Janaka A 30 Reputation points
    2024-10-22T13:55:28.1266667+00:00

    Again, this is another example of there not being

    a) a clear way to see the matrix of inference API features available by model, deployment type, and region.

    b) time line for support. corse bucketing is fine like this quarter, next quarter, or this year.

    2 people found this answer helpful.
    0 comments No comments

  4. YutongTie-MSFT 53,966 Reputation points Moderator
    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.


  5. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.