13 references to CreateFunctionJsonSchema
Microsoft.Extensions.AI.Abstractions (3)
Functions\AIFunctionFactory.cs (1)
741
JsonSchema = AIJsonUtilities.
CreateFunctionJsonSchema
(
Utilities\AIJsonSchemaCreateOptions.cs (2)
29
/// <see cref="AIJsonUtilities.
CreateFunctionJsonSchema
"/> in order to determine whether it should
41
/// <see cref="AIJsonUtilities.
CreateFunctionJsonSchema
"/> to obtain a description for the parameter.
Microsoft.Extensions.AI.Abstractions.Tests (10)
Utilities\AIJsonUtilitiesTests.cs (10)
295
JsonElement resolvedSchema = AIJsonUtilities.
CreateFunctionJsonSchema
(func.UnderlyingMethod, title: string.Empty);
358
JsonElement resolvedSchema = AIJsonUtilities.
CreateFunctionJsonSchema
(func.UnderlyingMethod, title: string.Empty, description: string.Empty, inferenceOptions: inferenceOptions);
441
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method);
460
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method, title: "override_title");
1154
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()
1182
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()
1199
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()
1223
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()
1242
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()
1260
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()