1 write to JsonSerializerOptions
Microsoft.Extensions.AI (1)
Functions\AIFunctionFactory.cs (1)
279JsonSerializerOptions = options.SerializerOptions,
5 references to JsonSerializerOptions
Microsoft.Extensions.AI (2)
ChatCompletion\FunctionInvokingChatClient.cs (2)
637LogInvokingSensitive(context.Function.Metadata.Name, LoggingHelpers.AsJson(context.CallContent.Arguments, context.Function.Metadata.JsonSerializerOptions)); 677LogInvocationCompletedSensitive(context.Function.Metadata.Name, elapsed, LoggingHelpers.AsJson(result, context.Function.Metadata.JsonSerializerOptions));
Microsoft.Extensions.AI.Abstractions (3)
Functions\AIFunctionMetadata.cs (1)
110/// <summary>Gets a <see cref="JsonSerializerOptions"/> that can be used to marshal function parameters.</summary>
Utilities\AIJsonUtilities.Schema.cs (2)
66serializerOptions ??= functionMetadata.JsonSerializerOptions ?? DefaultOptions; 68if (ReferenceEquals(serializerOptions, functionMetadata.JsonSerializerOptions) &&