Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAI Responses support #44616

Merged
merged 60 commits into from
Mar 14, 2025
Merged

OpenAI Responses support #44616

merged 60 commits into from
Mar 14, 2025

Conversation

jpalvarezl
Copy link
Member

@jpalvarezl jpalvarezl commented Mar 12, 2025

Adding Responses API support for the AOAI SDK in the inference package under com.azure.ai.openai.reponses.

This relates to: https://platform.openai.com/docs/guides/responses-vs-chat-completions

@jpalvarezl jpalvarezl changed the title WIP: OpenAI Responses support OpenAI Responses support Mar 13, 2025
@jpalvarezl jpalvarezl marked this pull request as ready for review March 13, 2025 20:44
@jpalvarezl
Copy link
Member Author

Thanks for the feedback! So just to be completely aligned on the follow-up: what we generally want to expose is a couple of methods that return Response<T> and T where T is not BinaryData but a deserialized type? Since this is an additive change, more than happy to follow-up on this immediately after the release.

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

com.azure:azure-ai-openai

@jpalvarezl jpalvarezl enabled auto-merge (squash) March 14, 2025 13:06
Copy link
Member

@mssfang mssfang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. We can add those withResponse methods without using BinaryData after this version.

@jpalvarezl jpalvarezl merged commit 9a8bfe3 into main Mar 14, 2025
41 checks passed
@jpalvarezl jpalvarezl deleted the jpalvarezl/responses branch March 14, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common common module used by all azure SDKs (e.g. client, Mgmt) OpenAI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants