diff --git a/src/Libraries/Microsoft.Extensions.AI.Abstractions/CHANGELOG.md b/src/Libraries/Microsoft.Extensions.AI.Abstractions/CHANGELOG.md index b889be5b9d3..4d9f3a54fd6 100644 --- a/src/Libraries/Microsoft.Extensions.AI.Abstractions/CHANGELOG.md +++ b/src/Libraries/Microsoft.Extensions.AI.Abstractions/CHANGELOG.md @@ -1,5 +1,13 @@ # Microsoft.Extensions.AI.Abstractions Release History +## NOT YET RELEASED + +- Added `ToolCallContent` and `ToolResultContent` base classes. +- Updated the design of the MCP and approvals-related types and marked them as stable. +- Updated AI function parameter JSON schema generation to honor `[Required]` attributes. +- Updated `AIFunctionFactory` to work better with `DynamicMethod`-based functions. +- Removed the experimental `IToolReductionStrategy` type. + ## 10.3.0 - Added `ReasoningOptions` to `ChatOptions` for configuring reasoning effort and output. diff --git a/src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md b/src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md index 9f85662cf8a..2aeab683cbf 100644 --- a/src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md +++ b/src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md @@ -1,5 +1,13 @@ # Microsoft.Extensions.AI.OpenAI Release History +## NOT YET RELEASED + +- Updated to depend on OpenAI 2.9.1. +- Updated the OpenAI Chat Completions `IChatClient` to surface OpenAI-compatible `reasoning_content` as `TextReasoningContent`. +- Updated the OpenAI `IChatClient` implementations to emit the `openai.api.type` OpenTelemetry attribute when an appropriate active span is detected. +- Fixed the OpenAI Chat Completions `IChatClient` to map `ReasoningEffort.None` and `ExtraHigh` correctly. +- Fixed the OpenAI Responses `FunctionCallOutputResponseItem` to correctly preserve `RawRepresentation`. + ## 10.3.0 - Marked Microsoft.Extensions.AI.OpenAI as stable. Portions of the surface area are still marked as [Experimental], e.g. because the OpenAI Responses surface area from the OpenAI library is [Experimental], the corresponding `AsIChatClient` in Microsoft.Extensions.AI.OpenAI is as well. diff --git a/src/Libraries/Microsoft.Extensions.AI/CHANGELOG.md b/src/Libraries/Microsoft.Extensions.AI/CHANGELOG.md index 38183905966..b1061be9b29 100644 --- a/src/Libraries/Microsoft.Extensions.AI/CHANGELOG.md +++ b/src/Libraries/Microsoft.Extensions.AI/CHANGELOG.md @@ -1,5 +1,14 @@ # Microsoft.Extensions.AI Release History +## NOT YET RELEASED + +- Added `time_to_first_chunk` and `time_per_output_chunk` streaming metrics to `OpenTelemetryChatClient`. +- Fixed `OpenTelemetryChatClient` to emit tool definitions even when EnableSensitiveData is false. +- Updated the OpenTelemetry instrumentation to conform to the latest 1.49 draft specification of the Semantic Conventions for Generative AI systems. +- Updated `FunctionInvokingChatClient` to automatically mark `FunctionCallContent` as `InformationalOnly=true` when it detects an existing corresponding `FunctionResultContent`. +- Fixed parenting of child spans in `FunctionInvokingChatClient` when an `invoke_agent` span is present. +- Removed the experimental `ToolReducingChatClient` type and related APIs. + ## 10.3.0 - Fixed `FunctionInvokingChatClient` to respect `ChatOptions.Tools` modifications made by function tools. @@ -39,7 +48,7 @@ ## 9.10.2 -- Updated the Open Telemetry instrumentation to conform to the latest 1.38 draft specification of the Semantic Conventions for Generative AI systems. +- Updated the OpenTelemetry instrumentation to conform to the latest 1.38 draft specification of the Semantic Conventions for Generative AI systems. ## 9.10.1 @@ -48,7 +57,7 @@ ## 9.10.0 -- Added `OpenTelemetrySpeechToTextClient` to provide Open Telemetry instrumentation for `ISpeechToTextClient` implementations. +- Added `OpenTelemetrySpeechToTextClient` to provide OpenTelemetry instrumentation for `ISpeechToTextClient` implementations. - Augmented `OpenTelemetryChatClient` to output tool information for all tools rather than only `AIFunctionDeclaration`-based tools. - Fixed `OpenTelemetryChatClient` to avoid throwing exceptions when trying to serialize unknown `AIContent`-derived types. - Fixed issue with `FunctionInvokingChatClient` where some buffered updates in the face of possible approvals weren't being propagated. @@ -64,7 +73,7 @@ - Added `FunctionInvokingChatClient` support for non-invocable tools and `TerminateOnUnknownCalls` property. - Added support to `FunctionInvokingChatClient` for user approval of function invocations. -- Updated the Open Telemetry instrumentation to conform to the latest 1.37 draft specification of the Semantic Conventions for Generative AI systems. +- Updated the OpenTelemetry instrumentation to conform to the latest 1.37 draft specification of the Semantic Conventions for Generative AI systems. - Fixed `GetResponseAsync` to only look at the contents of the last message in the response. ## 9.8.0 @@ -77,20 +86,20 @@ - Added `FunctionInvokingChatClient.FunctionInvoker` to simplify customizing how functions are invoked. - Increased the default `FunctionInvokingChatClient.MaximumIterationsPerRequest` value from 10 to 40. -- Updated the Open Telemetry instrumentation to conform to the latest 1.36 draft specification of the Semantic Conventions for Generative AI systems. +- Updated the OpenTelemetry instrumentation to conform to the latest 1.36 draft specification of the Semantic Conventions for Generative AI systems. - Updated to accommodate the additions in `Microsoft.Extensions.AI.Abstractions`. ## 9.7.0 - Added `DistributedCachingChatClient/EmbeddingGenerator.AdditionalCacheKeyValues` to allow adding additional values to the cache key. - Allowed a `CachingChatClient` to control per-request caching. -- Updated the Open Telemetry instrumentation to conform to the latest 1.35 draft specification of the Semantic Conventions for Generative AI systems. +- Updated the OpenTelemetry instrumentation to conform to the latest 1.35 draft specification of the Semantic Conventions for Generative AI systems. - Updated to accommodate the additions in `Microsoft.Extensions.AI.Abstractions`. ## 9.6.0 - Fixed hashing in `CachingChatClient` and `CachingEmbeddingGenerator` to be stable with respect to indentation settings and property ordering. -- Updated the Open Telemetry instrumentation to conform to the latest 1.34 draft specification of the Semantic Conventions for Generative AI systems. +- Updated the OpenTelemetry instrumentation to conform to the latest 1.34 draft specification of the Semantic Conventions for Generative AI systems. - Updated to accommodate the additions in `Microsoft.Extensions.AI.Abstractions`. ## 9.5.0