Skip to content

Commit 9667bfe

Browse files
stephentoubjeffhandley
authored andcommitted
Update M.E.AI changelogs (#6269)
1 parent b6fcfd1 commit 9667bfe

File tree

5 files changed

+43
-0
lines changed

5 files changed

+43
-0
lines changed

src/Libraries/Microsoft.Extensions.AI.Abstractions/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Release History
22

3+
## 9.4.0-preview.1.25207.5
4+
5+
- Added `ErrorContent` and `TextReasoningContent`.
6+
- Added `MessageId` to `ChatMessage` and `ChatResponseUpdate`.
7+
- Added `AIFunctionArguments`, changing `AIFunction.InvokeAsync` to accept one and to return a `ValueTask`.
8+
- Updated `AIJsonUtilities`'s schema generation to not use `default` when `RequireAllProperties` is set to `true`.
9+
- Added `ISpeechToTextClient` and supporting types.
10+
- Fixed several issues related to Native AOT support.
11+
312
## 9.3.0-preview.1.25161.3
413

514
- Changed `IChatClient.GetResponseAsync` and `IChatClient.GetStreamingResponseAsync` to accept an `IEnumerable<ChatMessage>` rather than an `IList<ChatMessage>`. It is no longer mutated by implementations.

src/Libraries/Microsoft.Extensions.AI.AzureAIInference/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Release History
22

3+
## 9.4.0-preview.1.25207.5
4+
5+
- Updated to Azure.AI.Inference 1.0.0-beta.4.
6+
- Renamed `AsChatClient`/`AsEmbeddingGenerator` extension methods to `AsIChatClient`/`AsIEmbeddingGenerator`.
7+
- Removed the public `AzureAIInferenceChatClient`/`AzureAIInferenceEmbeddingGenerator` types. These are only created now via the extension methods.
8+
- Updated to accomodate the changes in `Microsoft.Extensions.AI.Abstractions`.
9+
310
## 9.3.0-preview.1.25161.3
411

512
- Updated to accomodate the changes in `Microsoft.Extensions.AI.Abstractions`.

src/Libraries/Microsoft.Extensions.AI.Ollama/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History
22

3+
## 9.4.0-preview.1.25207.5
4+
5+
- Updated to accomodate the changes in `Microsoft.Extensions.AI.Abstractions`.
6+
37
## 9.3.0-preview.1.25161.3
48

59
- Updated to accomodate the changes in `Microsoft.Extensions.AI.Abstractions`.

src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Release History
22

3+
## 9.4.0-preview.1.25207.5
4+
5+
- Updated to OpenAI 2.2.0-beta-4.
6+
- Added `AsISpeechToTextClient` extension method for `AudioClient`.
7+
- Removed `AsChatClient(OpenAIClient)`/`AsEmbeddingGenerator(OpenAIClient)` extension methods, renamed the remaining `AsChatClient` methods to `AsIChatClient`, renamed the remaining `AsEmbeddingGenerator` methods to `AsIEmbeddingGenerator`, and added an `AsIChatClient` for `OpenAIResponseClient`.
8+
- Removed the public `OpenAIChatClient`/`OpenAIEmbeddingGenerator` types. These are only created now via the extension methods.
9+
- Removed serialization/deserialization helpers.
10+
- Updated to support pulling propagating image detail from `AdditionalProperties`.
11+
- Updated to accomodate the changes in `Microsoft.Extensions.AI.Abstractions`.
12+
313
## 9.3.0-preview.1.25161.3
414

515
- Updated to accomodate the changes in `Microsoft.Extensions.AI.Abstractions`.

src/Libraries/Microsoft.Extensions.AI/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Release History
22

3+
## 9.4.0-preview.1.25207.5
4+
5+
- Updated `GetResponseAsync<T>` to default to using JSON-schema based structured output by default.
6+
- Updated `AIFunctionFactory` with support for customizable marshaling of function parameters and return values.
7+
- Updated `AIFunctionFactory` with a new `Create` overload that supports creating a new receiver instance on each invocation, with either Activator.CreateInstance or ActivatorUtilities.CreateInstance.
8+
- Updated `AIFunctionFactory` to support injecting an `IServiceProvider` as an argument, sourced from the `AIFunctionArguments` passed to `AIFunction.InvokeAsync`.
9+
- Simplified `FunctionInvokingChatClient` error handling, removing `RetryOnError` and replacing it with `MaximumConsecutiveErrorsPerRequest`.
10+
- `FunctionInvokingChatClient` will now ensure that it invokes `AIFunction`s in the same `SynchronizationContext` that `GetResponseAsync`/`GetStreamingResponseAsync` was called in.
11+
- `OpenTelemetryChatClient` now considers `AdditionalProperties` to be sensitive and will only use that data as tags when `EnableSensitiveData` is set to `true`.
12+
- Updated `OpenTelemetryChatClient`/`OpenTelemetryEmbeddingGenerator` to conform to the latest 1.32 draft specification of the Semantic Conventions for Generative AI systems.
13+
- Updated the key used by `DistributedCachingChatClient` to employ SHA384 instead of SHA256.
14+
- Lowered `System.Text.Json` 9.x dependency to 8.x when targeting `net8.0` or older.
15+
316
## 9.3.0-preview.1.25161.3
417

518
- Added caching to `AIFunctionFactory.Create` to improve performance of creating the same functions repeatedly. As part of this, `AIJsonSchemaCreateOptions` now implements `IEquatable<AIJsonSchemaCreateOptions>`.

0 commit comments

Comments
 (0)