1 write to JsonSerializerOptions
Microsoft.Extensions.AI (1)
Functions\AIFunctionFactory.cs (1)
279
JsonSerializerOptions
= options.SerializerOptions,
5 references to JsonSerializerOptions
Microsoft.Extensions.AI (2)
ChatCompletion\FunctionInvokingChatClient.cs (2)
637
LogInvokingSensitive(context.Function.Metadata.Name, LoggingHelpers.AsJson(context.CallContent.Arguments, context.Function.Metadata.
JsonSerializerOptions
));
677
LogInvocationCompletedSensitive(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)
66
serializerOptions ??= functionMetadata.
JsonSerializerOptions
?? DefaultOptions;
68
if (ReferenceEquals(serializerOptions, functionMetadata.
JsonSerializerOptions
) &&