Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.3k stars 1.96k forks source link

[FEATURE REQ] [OpenAI] Need to add new properties for structured output #41655

Open junan-trustarc opened 2 weeks ago

junan-trustarc commented 2 weeks ago

Is your feature request related to a problem? Please describe. Open AI introduced Structured Output in early August, I was waiting for this update in azure openai SDK but I don't see any updates yet. https://openai.com/index/introducing-structured-outputs-in-the-api/

Describe the solution you'd like need to add new properties based on above new feature.

Describe alternatives you've considered Another suggestion, maybe we can pass some kind of additional JSON or MAP separately so that we can pass some properties which is not in OptionClass until waiting for SDK to be updated.

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

mssfang commented 2 weeks ago

@junan-trustarc Thank you for reaching out to us. The azure-ai-openai SDK supports both Azure OpenAI and OpenAI services. Azure OpenAI service is working on support the structured output feature and we (as SDK team) are waiting to have a finalized REST API spec for Azure OpenAI service. As I know, current ETA to support the "structured output" feature is in a new service API version, 2024-09-01-preview.