3 references to FunctionCallHelpers
Microsoft.Extensions.AI.Ollama (3)
OllamaChatClient.cs (3)
365
Arguments =
FunctionCallHelpers
.FormatFunctionParametersAsJsonElement(fcc.Arguments, ToolCallJsonSerializerOptions),
371
JsonElement jsonResult =
FunctionCallHelpers
.FormatFunctionResultAsJsonElement(frc.Result, ToolCallJsonSerializerOptions);
402
p =>
FunctionCallHelpers
.InferParameterJsonSchema(p, function.Metadata, ToolCallJsonSerializerOptions)),