15 references to CreateFunctionJsonSchema
Microsoft.Extensions.AI.Abstractions (3)
Functions\AIFunctionFactory.cs (1)
711
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 (12)
Utilities\AIJsonUtilitiesTests.cs (12)
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);
434
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method, title: string.Empty);
496
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method, title: string.Empty, serializerOptions: options);
557
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method);
576
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method, title: "override_title");
1270
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()
1298
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()
1315
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()
1339
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()
1358
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()
1376
JsonElement schema = AIJsonUtilities.
CreateFunctionJsonSchema
(method.Method, inferenceOptions: new()