Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.61k stars 5.01k forks source link

[FEATURE REQ] AzureOpenAI support `json_schema` in `response_format` #30295

Open wuxu92 opened 3 weeks ago

wuxu92 commented 3 weeks ago

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/ba268c5654f002bc17914e0bc157f19529f1fec1/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-07-01-preview/inference.json#L3726

API Spec version

new

Please describe the feature.

as OpenAI release the json_schema support in https://openai.com/index/introducing-structured-outputs-in-the-api/ , it would be greate if Azure API can support this feature.

v-jiaodi commented 2 weeks ago

@yuanzhuangyuanzhuang Please help take a look, thanks.