azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

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

Open junan-trustarc opened this issue 1 year ago • 3 comments

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

  • [O] Description Added
  • [O] Expected solution specified

junan-trustarc avatar Aug 27 '24 17:08 junan-trustarc

@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.

mssfang avatar Aug 29 '24 16:08 mssfang

Hi @mssfang, any news regarding structured outputs? Thanks!

langchain4j avatar Oct 12 '24 18:10 langchain4j

@langchain4j We are trying to get it out next few days.

mssfang avatar Oct 14 '24 05:10 mssfang

@mssfang any update on the changes?

javiergarciapleo avatar Oct 22 '24 08:10 javiergarciapleo

https://repo1.maven.org/maven2/com/azure/azure-ai-openai/1.0.0-beta.12/

A new beta version 12 is out now which includes the structure outputs feature in service API version 2024-08-01-preview

mssfang avatar Oct 22 '24 18:10 mssfang