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
- Lowered the required version of System.Text.Json to 8.0.5 when targeting net8.0 or older.
6
+
- Annotated `FunctionCallContent.Exception` and `FunctionResultContent.Exception` as `[JsonIgnore]`, such that they're ignored when serializing instances with `JsonSerializer`. The corresponding constructors accepting an `Exception` were removed.
7
+
- Annotated `ChatCompletion.Message` as `[JsonIgnore]`, such that it's ignored when serializing instances with `JsonSerializer`.
8
+
- Added the `FunctionCallContent.CreateFromParsedArguments` method.
9
+
- Added the `AdditionalPropertiesDictionary.TryGetValue<T>` method.
10
+
- Added the `StreamingChatCompletionUpdate.ModelId` property and removed the `AIContent.ModelId` property.
11
+
- Renamed the `GenerateAsync` extension method on `IEmbeddingGenerator<,>` to `GenerateEmbeddingsAsync` and updated it to return `Embedding<T>` rather than `GeneratedEmbeddings`.
12
+
- Added `GenerateAndZipAsync` and `GenerateEmbeddingVectorAsync` extension methods for `IEmbeddingGenerator<,>`.
13
+
- Added the `EmbeddingGeneratorOptions.Dimensions` property.
14
+
- Added the `ChatOptions.TopK` property.
15
+
- Normalized `null` inputs in `TextContent` to be empty strings.
- Lowered the required version of System.Text.Json to 8.0.5 when targeting net8.0 or older.
6
+
- Added additional constructors to `OllamaChatClient` and `OllamaEmbeddingGenerator` that accept `string` endpoints, in addition to the existing ones accepting `Uri` endpoints.
- Added new `AIJsonUtilities` and `AIJsonSchemaCreateOptions` classes.
6
+
- Made `AIFunctionFactory.Create` safe for use with Native AOT.
7
+
- Simplified the set of `AIFunctionFactory.Create` overloads.
8
+
- Changed the default for `FunctionInvokingChatClient.ConcurrentInvocation` from `true` to `false`.
9
+
- Improved the readability of JSON generated as part of logging.
10
+
- Fixed handling of generated JSON schema names when using arrays or generic types.
11
+
- Improved `CachingChatClient`'s coalescing of streaming updates, including reduced memory allocation and enhanced metadata propagation.
12
+
- Updated `OpenTelemetryChatClient` and `OpenTelemetryEmbeddingGenerator` to conform to the latest 1.28.0 draft specification of the Semantic Conventions for Generative AI systems.
13
+
- Improved `CompleteAsync<T>`'s structured output support to handle primitive types, enums, and arrays.
0 commit comments