17 references to ConvertSchemaToObject
Microsoft.Extensions.AI.Abstractions (17)
Utilities\AIJsonUtilities.Schema.Create.cs (17)
307JsonObject obj = ConvertSchemaToObject(ref schema); 347ConvertSchemaToObject(ref schema)[DefaultPropertyName] = defaultValueNode; 353ConvertSchemaToObject(ref schema).InsertAtStart(DescriptionPropertyName, (JsonNode)localDescription); 359ConvertSchemaToObject(ref schema).InsertAtStart(SchemaPropertyName, (JsonNode)SchemaKeywordUri); 396ConvertSchemaToObject(ref schema)[TitlePropertyName] ??= displayNameAttribute.DisplayName; 402ConvertSchemaToObject(ref schema)[FormatPropertyName] ??= "email"; 407ConvertSchemaToObject(ref schema)[FormatPropertyName] ??= "uri"; 412ConvertSchemaToObject(ref schema)[PatternPropertyName] ??= regexAttribute.Pattern; 417JsonObject obj = ConvertSchemaToObject(ref schema); 429JsonObject obj = ConvertSchemaToObject(ref schema); 442JsonObject obj = ConvertSchemaToObject(ref schema); 455JsonObject obj = ConvertSchemaToObject(ref schema); 526ConvertSchemaToObject(ref schema)[ContentEncodingPropertyName] ??= "base64"; 531JsonObject obj = ConvertSchemaToObject(ref schema); 555JsonObject obj = ConvertSchemaToObject(ref schema); 567JsonObject obj = ConvertSchemaToObject(ref schema); 602JsonObject obj = ConvertSchemaToObject(ref schema);