github Azure/azure-sdk-for-net Azure.AI.OpenAI_2.2.0-beta.4

pre-release17 hours ago

2.2.0-beta.4 (2025-03-18)

This update brings compatibility with the 2025-03-01-preview service API version, including support for the new /responses API via OpenAIResponseClient.

Features Added

  • To use the new /responses endpoint, call GetOpenAIResponseClient() on an AzureOpenAIClient instance, following the same pattern as other operations. Using the overload without a deployment name will not be able to create new responses, only retrieve and list existing response data.

In addition to the new features transitive via the OpenAI library:

  • Azure OpenAI file upload for batch (FileUploadPurpose.Batch) now supports the specification of a custom expiration policy in supported regions. To use this capability, call one of the supplied extension method overloads of UploadFile() that accepts an AzureFileExpirationOptions parameter.

Breaking Changes

  • Transitive from the OpenAI package, several types in the [Experimental] attributed Assistants, VectorStores, and RealtimeConversation namespaces have removed use of the required keyword, standardizing their constructor-based required input patterns with the rest of the library. To address these build breaks, use one of the new constructor signatures that accepts required parameters previously provided via property init.

Don't miss a new azure-sdk-for-net release

NewReleases is sending notifications on new releases.