You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/openai/Azure.AI.OpenAI/CHANGELOG.md
+31-17Lines changed: 31 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,43 @@
1
1
# Release History
2
2
3
-
## 2.1.0-beta.3 (Unreleased)
3
+
## 2.1.0 (2024-12-05)
4
+
5
+
This GA library release aligns functionality with the latest `2024-10-21` stable service API label.
6
+
7
+
> [!NOTE]
8
+
> For consistency and reliability, GA releases of the `Azure.AI.OpenAI` library will always map to stable Azure OpenAI service API versions. Because stable service API versions omit volatile surfaces such as beta features, GA library releases will also not contain the full set of preview functionality. To use beta and preview features, please use the latest prerelease version of the library.
4
9
5
10
### Features Added
6
11
7
-
### Breaking Changes
12
+
**Chat**
8
13
9
-
### Bugs Fixed
14
+
-[GA] The `2024-10-21` API version brings GA AOAI support for streaming token usage in chat completions; `Usage` is now automatically populated in `StreamingChatCompletionUpdate` instances.
15
+
- Note 1: this feature is not yet compatible when using On Your Data features (after invoking the `.AddDataSource()` extension method on `ChatCompletionOptions`)
16
+
- Note 2: this feature is not yet compatible when using image input (a `ChatMessageContentPart` of `Kind``Image`)
17
+
-[GA] The `AllowParalllelToolCalls` property on `ChatCompletionOptions`, which can be set to `false` to disable the invocation of multiple tools on a single chat completion response, is now supported.
18
+
-[GA] Structured outputs, via the use of `ChatResponseFormat.CreateJsonSchemaFormat()`, is now supported.
19
+
- When using `o1-preview` and `o1-mini` models, `max_completion_tokens` may now be configured by calling the `[Experimental] SetNewMaxCompletionTokensPropertyEnabled()` extension method on `ChatCompletionOptions`.
20
+
- This extension method will be removed in a future service API version, when it becomes unnecessary once all models support the `max_completion_tokens` property
10
21
11
-
### Other Changes
22
+
**Batch**
12
23
13
-
## 2.1.0-beta.2 (2024-11-04)
24
+
The `2024-10-21` service API label introduces stable support for batch chat completions to Azure OpenAI. This library release exposes low-level support for batch:
14
25
15
-
This update brings compatibility with the Azure OpenAI `2024-10-01-preview` service API version as well as the `2.1.0-beta.2` release of the `OpenAI` library.
26
+
-`AzureOpenAIClient`'s `GetOpenAIFileClient()` will now return a valid, configured instance of `FileClient` that supports uploading files with `FileUploadPurpose.Batch`. This can be used to upload the contents of a valid `.jsonl` file for batch processing.
27
+
-`AzureOpenAIClient`'s `GetBatchClient()` will now return a valid, configured instance of `BatchClient` that can produce a `CreateBatchOperation` given an uploaded file ID using protocol methods.
28
+
- Strongly typed convenience surfaces for `BatchClient` will arrive in a future update.
16
29
17
30
### Breaking Changes
18
31
19
-
-`[Experimental]``ChatCitation` and `ChatRetrievedDocument` have each replaced the `Uri` property of type `System.Uri` with a `string` property named `Url`. This aligns with the REST specification and accounts for the wire value of `url` not always providing a valid RFC 3986 identifier [[azure-sdk-for-net \#46793](https://github.com/Azure/azure-sdk-for-net/issues/46793)]
32
+
> [!NOTE]
33
+
> GA library releases only permit breaking changes to items marked with an `[Experimental]` attribute and these changes will be minimized whenever possible.
34
+
35
+
-`[Experimental]``GetBatchClient(string deploymentName)` on `AzureOpenAIClient` is removed, as the Azure OpenAI batch API now aligns with OpenAI's in not using a deployment-based request URI path. Please use `GetBatchClient()`, instead.
36
+
-`[Expermental]` the `Uri` property of type `System.Uri` in `ChatCitation` and `ChatRetrivedDocument` has been replaced by a `Url` property of type `string`. This contains the same information but properly handles document paths that don't conform to a valid RFC 3986 identifier.
37
+
38
+
## 2.1.0-beta.2 (2024-11-04)
39
+
40
+
This update brings compatibility with the Azure OpenAI `2024-10-01-preview` service API version as well as the `2.1.0-beta.2` release of the `OpenAI` library.
20
41
21
42
### Features Added
22
43
@@ -25,21 +46,14 @@ This update brings compatibility with the Azure OpenAI `2024-10-01-preview` serv
25
46
- Note 2: this feature is not yet compatible when using image input (a `ChatMessageContentPart` of `Kind``Image`)
26
47
-`2024-10-01-preview` further adds support for ungrounded content detection in chat completion content filter results via the `UngroundedMaterial` property on `ResponseContentFilterResult`, as retrieved from a chat completion via the `GetResponseContentFilterResult()` extension method.
27
48
28
-
Via `OpenAI 2.0.0-beta.2`:
49
+
## Breaking Changes
29
50
30
-
- Made improvements to the experimental Realtime API. Please note this features area is currently under rapid development and not all changes may be reflected here.
31
-
- Several types have been renamed for consistency and clarity.
32
-
- ConversationRateLimitsUpdate (previously ConversationRateLimitsUpdatedUpdate) now includes named RequestDetails and TokenDetails properties, mapping to the corresponding named items in the underlying rate_limits command payload.
51
+
-`[Experimental]``ChatCitation` and `ChatRetrievedDocument` have each replaced the `Uri` property of type `System.Uri` with a `string` property named `Url`. This aligns with the REST specification and accounts for the wire value of `url` not always providing a valid RFC 3986 identifier [[azure-sdk-for-net \#46793](https://github.com/Azure/azure-sdk-for-net/issues/46793)]
33
52
34
-
###Bugs Fixed
53
+
## Bugs Fixed
35
54
36
-
- Addressed an HTTP 401 issue that caused certain connection retry attempts, such as those triggered for HTTP 429 rate limiting errors, to sometimes generate a malformed request with multiple `Authorization` headers that would then be rejected. [#46401](https://github.com/Azure/azure-sdk-for-net/pull/46401)
37
55
- Addressed an issue that caused `ChatCitation` and `ChatRetrievedDocument` to sometimes throw on deserialization, specifically when a returned value in the `url` JSON field was not populated with an RFC 3986 compliant identifier for `System.Uri`[[azure-sdk-for-net \#46793](https://github.com/Azure/azure-sdk-for-net/issues/46793)]
38
56
39
-
Via `OpenAI 2.0.0-beta.2`:
40
-
41
-
- Fixed serialization and deserialization of ConversationToolChoice literal values (such as "required").
42
-
43
57
## 2.1.0-beta.1 (2024-10-01)
44
58
45
59
Relative to the prior GA release, this update restores preview surfaces, retargeting to the latest `2024-08-01-preview` service `api-version` label. It also brings early support for the newly-announced `/realtime` capabilities with `gpt-4o-realtime-preview`. You can read more about Azure OpenAI support for `/realtime` in the annoucement post here: https://azure.microsoft.com/blog/announcing-new-products-and-features-for-azure-openai-service-including-gpt-4o-realtime-preview-with-audio-and-speech-capabilities/
0 commit comments