1 instantiation of AIJsonSchemaCreateContext
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.cs (1)
248
AIJsonSchemaCreateContext ctx =
new
(schemaExporterContext);
5 references to AIJsonSchemaCreateContext
Microsoft.Extensions.AI.Abstractions (3)
Utilities\AIJsonSchemaCreateOptions.cs (1)
26
public Func<
AIJsonSchemaCreateContext
, JsonNode, JsonNode>? TransformSchemaNode { get; init; }
Utilities\AIJsonUtilities.Schema.cs (2)
248
AIJsonSchemaCreateContext
ctx = new(schemaExporterContext);
387
private static bool TypeIsIntegerWithStringNumberHandling(
AIJsonSchemaCreateContext
ctx, JsonObject schema, [NotNullWhen(true)] out string? numericType)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Utilities\AIJsonUtilitiesTests.cs (2)
97
case null when property.PropertyType == typeof(Func<
AIJsonSchemaCreateContext
, JsonNode, JsonNode>):
98
Func<
AIJsonSchemaCreateContext
, JsonNode, JsonNode> transformer = static (context, schema) => (JsonNode)true;