Are Structured Outputs currently supported for Azure OpenAI Assistants?

Titus 25 Reputation points
2025-01-22T14:03:19.42+00:00

Hello,

This article indicates that structured outputs are available for gpt-4o version: 2024-08-06

But it is unclear from that article to me whether assistants are also supported already, or only chat completions up to now.

I have tried with these three deployments from the screenshot below, but for each I receive an error: Invalid parameter: 'response_format' of type 'json_schema' is not supported with model..

Is there any documentation or alternative deployments/services that I am missing? Or is this functionality not yet supported for assistants specifically?

Thanks!

{33620DB6-803E-40C3-9C3E-9983B64965FF}

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

Accepted answer
  1. Pavankumar Purilla 3,325 Reputation points Microsoft Vendor
    2025-01-22T21:12:03.1066667+00:00

    Hi Titus,
    Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!

    Structured outputs are supported for Azure OpenAI models like gpt-4o-2024-08-06 when used with the chat/completions API, allowing output formatting based on JSON Schema. However, this functionality does not currently support Azure OpenAI Assistants.

    Hopefully, Azure will extend structured output support to Assistants in the future, as this functionality would greatly enhance their versatility and usability. However, you can keep an eye on the Azure OpenAI Service release notes for updates on What's new in Azure OpenAI Service page will be updated accordingly with more details.

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful.

    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful

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.