Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/Libraries/Microsoft.Extensions.AI.Abstractions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Release History

## 9.3.0-preview.1.25114.11

- Renamed `IChatClient.Complete{Streaming}Async` to `IChatClient.Get{Streaming}ResponseAsync`. This is to avoid confusion with "Complete" being about stopping an operation, as well as to avoid tying the methods to a particular implementation detail of how responses are generated. Along with this, renamed `ChatCompletion` to `ChatResponse`, `StreamingChatCompletionUpdate` to `ChatResponseUpdate`, `CompletionId` to `ResponseId`, `ToStreamingChatCompletionUpdates` to `ToChatResponseUpdates`, and `ToChatCompletion{Async}` to `ToChatResponse{Async}`.
- Removed `IChatClient.Metadata` and `IEmbeddingGenerator.Metadata`. The `GetService` method may be used to retrieve `ChatClientMetadata` and `EmbeddingGeneratorMetadata`, respectively.
- Added overloads of `Get{Streaming}ResponseAsync` that accept a single `ChatMessage` (in addition to the other overloads that accept a `List<ChatMessage>` or a `string`).
- Added `ChatThreadId` properties to `ChatOptions`, `ChatResponse`, and `ChatResponseUpdate`. `IChatClient` can now be used in both stateful and stateless modes of operation, such as with agents that maintain server-side chat history.
- Made `ChatOptions.ToolMode` nullable and added a `None` option.
- Changed `UsageDetails`'s properties from `int?` to `long?`.
- Removed `DataContent.ContainsData`; `DataContent.Data.HasValue` may be used instead.
- Removed `ImageContent` and `AudioContent`; the base `DataContent` should now be used instead, with a new `DataContent.MediaTypeStartsWith` helper for routing based on media type.
- Removed setters on `FunctionCallContent` and `FunctionResultContent` properties where the value is supplied to the constructor.
- Removed `FunctionResultContent.Name`.
- Augmented the base `AITool` with `Name`, `Description`, and `AdditionalProperties` virtual properties.
- Added a `CodeInterpreterTool` for use with services that support server-side code execution.
- Changed `AIFunction`'s schema representation to be for the whole function rather than per parameter, and exposed corresponding methods on `AIJsonUtilities`, e.g. `CreateFunctionJsonSchema`.
- Removed `AIFunctionParameterMetadata` and `AIFunctionReturnParameterMetadata` classes and corresponding properties on `AIFunction` and `AIFunctionFactoryCreateOptions`, replacing them with a `MethodInfo?`. All relevant metadata, such as the JSON schema for the function, are moved to properties directly on `AIFunction`.
- Renamed `AIFunctionFactoryCreateOptions` to `AIFunctionFactoryOptions` and made all its properties nullable.
- Changed `AIJsonUtilities.DefaultOptions` to use relaxed JSON escaping.
- Made `IEmbeddingGenerator<TInput, TEmbedding>` contravariant on `TInput`.

## 9.1.0-preview.1.25064.3

- Added `AdditionalPropertiesDictionary<TValue>` and changed `UsageDetails.AdditionalProperties` to be named `AdditionalCounts` and to be of type `AdditionalPropertiesDictionary<long>`.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 9.3.0-preview.1.25114.11

- Updated to use Azure.AI.Inference 1.0.0-beta.3, adding support for structured output and audio input.

## 9.1.0-preview.1.25064.3

- Fixed handling of text-only user messages.
Expand Down
5 changes: 5 additions & 0 deletions src/Libraries/Microsoft.Extensions.AI.Ollama/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release History

## 9.3.0-preview.1.25114.11

- Ensures that all yielded `ChatResponseUpdates` include a `ResponseId`.
- Ensures that error HTTP status codes are correctly propagated as exceptions.

## 9.1.0-preview.1.25064.3

- Added support for function calling when doing streaming operations.
Expand Down
6 changes: 6 additions & 0 deletions src/Libraries/Microsoft.Extensions.AI.OpenAI/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 9.3.0-preview.1.25114.11

- Updated to depend on OpenAI 2.2.0-beta.1, updating with support for the Developer role, audio input and output, and additional options like output prediction. It is now also compatible with NativeAOT.
- Added an `AsChatClient` extension method for OpenAI's `AssistantClient`, enabling `IChatClient` to be used with OpenAI Assistants.
- Improved the OpenAI serialization helpers, including a custom converter for the `OpenAIChatCompletionRequest` envelope type.

## 9.1.0-preview.1.25064.3

- Updated to depend on OpenAI 2.1.0.
Expand Down
4 changes: 4 additions & 0 deletions src/Libraries/Microsoft.Extensions.AI/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 9.3.0-preview.1.25114.11

- Updated `OpenTelemetryChatClient`/`OpenTelemetryEmbeddingGenerator` to conform to the latest 1.30.0 draft specification of the Semantic Conventions for Generative AI systems.

## 9.1.0-preview.1.25064.3

- Added `FunctionInvokingChatClient.CurrentContext` to give functions access to detailed function invocation information.
Expand Down