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