5 references to FunctionCallHelpers
Microsoft.Extensions.AI.AzureAIInference (5)
AzureAIInferenceChatClient.cs (5)
96
Dictionary<string, object?>? arguments =
FunctionCallHelpers
.ParseFunctionCallArguments(ftc.Arguments, out Exception? parsingException);
229
var arguments =
FunctionCallHelpers
.ParseFunctionCallArguments(
374
FunctionCallHelpers
.InferParameterJsonSchema(parameter, aiFunction.Metadata, ToolCallJsonSerializerOptions));
433
result =
FunctionCallHelpers
.FormatFunctionResultAsJson(resultContent.Result, ToolCallJsonSerializerOptions);
464
string jsonArguments =
FunctionCallHelpers
.FormatFunctionParametersAsJson(callRequest.Arguments, ToolCallJsonSerializerOptions);