4 references to ToolCallJsonSerializerOptions
Microsoft.Extensions.AI.AzureAIInference (4)
AzureAIInferenceChatClient.cs (4)
315
result.AdditionalProperties[prop.Key] = BinaryData.FromObjectAsJson(prop.Value,
ToolCallJsonSerializerOptions
);
374
FunctionCallHelpers.InferParameterJsonSchema(parameter, aiFunction.Metadata,
ToolCallJsonSerializerOptions
));
433
result = FunctionCallHelpers.FormatFunctionResultAsJson(resultContent.Result,
ToolCallJsonSerializerOptions
);
464
string jsonArguments = FunctionCallHelpers.FormatFunctionParametersAsJson(callRequest.Arguments,
ToolCallJsonSerializerOptions
);