5 references to CreateFunctionJsonSchema
Microsoft.Extensions.AI.Abstractions (2)
Functions\AIFunctionFactory.cs (1)
710JsonSchema = AIJsonUtilities.CreateFunctionJsonSchema(
Utilities\AIJsonSchemaCreateOptions.cs (1)
30/// <see cref="AIJsonUtilities.CreateFunctionJsonSchema"/> in order to determine whether it should
Microsoft.Extensions.AI.Abstractions.Tests (3)
Utilities\AIJsonUtilitiesTests.cs (3)
301JsonElement resolvedSchema = AIJsonUtilities.CreateFunctionJsonSchema(func.UnderlyingMethod, title: func.Name); 357JsonElement resolvedSchema = AIJsonUtilities.CreateFunctionJsonSchema( 550JsonElement schema = AIJsonUtilities.CreateFunctionJsonSchema(method.Method, inferenceOptions: new()