New code samples for Responses API on Azure OpenAI #37
guygregory
started this conversation in
Show and Tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Introduction
To help developers get started with all the new features we've recently announced for Responses API this week, I've included some updates to my Python code samples:
https://aka.ms/ResponsesAPI/
These updates are aligned to the features outlined in this article: Introducing New Tools and Features in the Responses API in Azure AI Foundry
Features and Screenshots
🆕 MCP Remote Server
🆕 Background async requests
🆕 Image generation with gpt-image-1
🆕 Support for the new v1 API Preview
Technical Details
Challenges and Solutions
Important note: API Evolution
Starting in May 2025, you can now opt in to our next generation of v1 Azure OpenAI APIs which add support for:
Code samples have been provided for both the v1 API Preview, and also the older API versions. The v1 API Preview samples have a v1.py suffix to distinguish them.
If you want the latest features, I would recommend using the v1 API Preview, with the
api-version
set topreview
. If you need a stable, GA version, and don't need the latest features, then you can use the older API. At time of writing, the latest GA API release is2024-10-21
.More information: Azure OpenAI in Azure AI Foundry Models API lifecycle
Beta Was this translation helpful? Give feedback.
All reactions