From 0d0d580489816f6c1784575e759d2f97f5c484f5 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Thu, 1 May 2025 07:13:38 -0400 Subject: [PATCH] Update CHANGELOGS for M.E.AI libs --- .../CHANGELOG.md | 9 ++++++++- .../CHANGELOG.md | 6 +++++- .../Microsoft.Extensions.AI.Ollama/CHANGELOG.md | 6 +++++- .../Microsoft.Extensions.AI.OpenAI/CHANGELOG.md | 8 +++++++- .../Microsoft.Extensions.AI/CHANGELOG.md | 17 ++++++++++++++++- 5 files changed, 41 insertions(+), 5 deletions(-) diff --git a/src/Libraries/Microsoft.Extensions.AI.Abstractions/CHANGELOG.md b/src/Libraries/Microsoft.Extensions.AI.Abstractions/CHANGELOG.md index 7df054549c0..c6639273d70 100644 --- a/src/Libraries/Microsoft.Extensions.AI.Abstractions/CHANGELOG.md +++ b/src/Libraries/Microsoft.Extensions.AI.Abstractions/CHANGELOG.md @@ -1,5 +1,12 @@ # Release History +## 9.4.3-preview.1.25230.7 + +- Renamed `ChatThreadId` to `ConversationId` on `ChatResponse`, `ChatResponseUpdate`, and `ChatOptions`. +- Renamed `EmbeddingGeneratorExtensions` method `GenerateEmbeddingAsync` to `GenerateAsync` and `GenerateEmbeddingVectorAsync` to `GenerateVectorAsync`. +- Made `AIContent`'s constructor `public` instead of `protected`. +- Fixed `AIJsonUtilities.CreateJsonSchema` to tolerate `JsonSerializerOptions` instances that don't have a `TypeInfoResolver` already configured. + ## 9.4.0-preview.1.25207.5 - Added `ErrorContent` and `TextReasoningContent`. @@ -83,4 +90,4 @@ ## 9.0.0-preview.9.24507.7 -Initial Preview +- Initial Preview diff --git a/src/Libraries/Microsoft.Extensions.AI.AzureAIInference/CHANGELOG.md b/src/Libraries/Microsoft.Extensions.AI.AzureAIInference/CHANGELOG.md index a5c9ceb0a42..aaf1ac1c67c 100644 --- a/src/Libraries/Microsoft.Extensions.AI.AzureAIInference/CHANGELOG.md +++ b/src/Libraries/Microsoft.Extensions.AI.AzureAIInference/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History +## 9.4.3-preview.1.25230.7 + +- Updated to accomodate the changes in `Microsoft.Extensions.AI.Abstractions`. + ## 9.4.0-preview.1.25207.5 - Updated to Azure.AI.Inference 1.0.0-beta.4. @@ -36,4 +40,4 @@ ## 9.0.0-preview.9.24507.7 -Initial Preview +- Initial Preview diff --git a/src/Libraries/Microsoft.Extensions.AI.Ollama/CHANGELOG.md b/src/Libraries/Microsoft.Extensions.AI.Ollama/CHANGELOG.md index 9cee8a46073..8822f8ddaea 100644 --- a/src/Libraries/Microsoft.Extensions.AI.Ollama/CHANGELOG.md +++ b/src/Libraries/Microsoft.Extensions.AI.Ollama/CHANGELOG.md @@ -1,5 +1,9 @@ # Release History +## 9.4.3-preview.1.25230.7 + +- Updated to accomodate the changes in `Microsoft.Extensions.AI.Abstractions`. + ## 9.4.0-preview.1.25207.5 - Updated to accomodate the changes in `Microsoft.Extensions.AI.Abstractions`. @@ -29,4 +33,4 @@ ## 9.0.0-preview.9.24507.7 -Initial Preview +- Initial Preview diff --git a/src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md b/src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md index dc5dc62cc6c..05130ba3847 100644 --- a/src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md +++ b/src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 9.4.3-preview.1.25230.7 + +- Reverted previous change that enabled `strict` schemas by default. +- Updated `IChatClient` implementations to support `DataContent`s for PDFs. +- Updated to accomodate the changes in `Microsoft.Extensions.AI.Abstractions`. + ## 9.4.0-preview.1.25207.5 - Updated to OpenAI 2.2.0-beta-4. @@ -41,4 +47,4 @@ ## 9.0.0-preview.9.24507.7 -Initial Preview +- Initial Preview diff --git a/src/Libraries/Microsoft.Extensions.AI/CHANGELOG.md b/src/Libraries/Microsoft.Extensions.AI/CHANGELOG.md index f9ef48d001e..69cf9f12c46 100644 --- a/src/Libraries/Microsoft.Extensions.AI/CHANGELOG.md +++ b/src/Libraries/Microsoft.Extensions.AI/CHANGELOG.md @@ -1,5 +1,20 @@ # Release History +## 9.4.3-preview.1.25230.7 + +- Updated the diagnostic spans emitted by `FunctionInvokingChatClient` to include total input and output token counts. +- Updated `AIFunctionFactory` to recognize `[FromKeyedServices]` attribute on parameters in order to resolve those parameters from the `IServiceProvider`. +- Added `AIFunctionFactoryOptions.Services`, and used it with `IServiceProviderIsService` to automatically resolve `IServiceProvider`-based parameters in `AIFunction` methods. +- Added `ChatOptions.AllowMultipleToolCalls`. +- Changed `AIJsonSchemaCreateOptions.RequireAllProperties` to default to `false` instead of `true`. +- Unsealed `AIFunctionArguments`. +- Added `AIFunctionArguments` constructors accepting `IEqualityComparer` arguments. +- Unsealed `FunctionInvocationContext`. +- Added `FunctionInvocationContext.IsStreaming`. +- Added protected `FunctionInvokingChatClient.FunctionInvocationServices` property to surface the corresponding `IServiceProvider` provided at construction time. +- Changed protected virtual `FunctionInvokingChatClient.InvokeFunctionAsync` to return `ValueTask` instead of `Task`. Diagnostics are now emitted even if the method is overridden. +- Added `FunctionInvocationResult.Terminate`. + ## 9.4.0-preview.1.25207.5 - Updated `GetResponseAsync` to default to using JSON-schema based structured output by default. @@ -74,4 +89,4 @@ ## 9.0.0-preview.9.24507.7 -Initial Preview +- Initial Preview