1 instantiation of AIJsonSchemaCreateContext
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.Create.cs (1)
263AIJsonSchemaCreateContext ctx = new(schemaExporterContext);
6 references to AIJsonSchemaCreateContext
Microsoft.Extensions.AI.Abstractions (4)
Utilities\AIJsonSchemaCreateOptions.cs (1)
26public Func<AIJsonSchemaCreateContext, JsonNode, JsonNode>? TransformSchemaNode { get; init; }
Utilities\AIJsonUtilities.Schema.Create.cs (3)
263AIJsonSchemaCreateContext ctx = new(schemaExporterContext); 360void ApplyDataAnnotations(string? parameterName, ref JsonNode schema, AIJsonSchemaCreateContext ctx) 604private static bool TypeIsIntegerWithStringNumberHandling(AIJsonSchemaCreateContext ctx, JsonObject schema, [NotNullWhen(true)] out string? numericType)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Utilities\AIJsonUtilitiesTests.cs (2)
100case null when property.PropertyType == typeof(Func<AIJsonSchemaCreateContext, JsonNode, JsonNode>): 101Func<AIJsonSchemaCreateContext, JsonNode, JsonNode> transformer = static (context, schema) => (JsonNode)true;