17 references to ConvertSchemaToObject
Microsoft.Extensions.AI.Abstractions (17)
Utilities\AIJsonUtilities.Schema.Create.cs (17)
309JsonObject obj = ConvertSchemaToObject(ref schema); 364ConvertSchemaToObject(ref schema)[DefaultPropertyName] = defaultValueNode; 370ConvertSchemaToObject(ref schema).InsertAtStart(DescriptionPropertyName, (JsonNode)localDescription); 376ConvertSchemaToObject(ref schema).InsertAtStart(SchemaPropertyName, (JsonNode)SchemaKeywordUri); 413ConvertSchemaToObject(ref schema)[TitlePropertyName] ??= displayNameAttribute.DisplayName; 419ConvertSchemaToObject(ref schema)[FormatPropertyName] ??= "email"; 424ConvertSchemaToObject(ref schema)[FormatPropertyName] ??= "uri"; 429ConvertSchemaToObject(ref schema)[PatternPropertyName] ??= regexAttribute.Pattern; 434JsonObject obj = ConvertSchemaToObject(ref schema); 446JsonObject obj = ConvertSchemaToObject(ref schema); 459JsonObject obj = ConvertSchemaToObject(ref schema); 472JsonObject obj = ConvertSchemaToObject(ref schema); 543ConvertSchemaToObject(ref schema)[ContentEncodingPropertyName] ??= "base64"; 548JsonObject obj = ConvertSchemaToObject(ref schema); 572JsonObject obj = ConvertSchemaToObject(ref schema); 584JsonObject obj = ConvertSchemaToObject(ref schema); 619JsonObject obj = ConvertSchemaToObject(ref schema);