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
/responsesendpoint, callGetOpenAIResponseClient()on anAzureOpenAIClientinstance, 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 ofUploadFile()that accepts anAzureFileExpirationOptionsparameter.
Breaking Changes
- Transitive from the OpenAI package, several types in the
[Experimental]attributedAssistants,VectorStores, andRealtimeConversationnamespaces have removed use of therequiredkeyword, 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 propertyinit.