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