17 references to ConvertSchemaToObject
Microsoft.Extensions.AI.Abstractions (17)
Utilities\AIJsonUtilities.Schema.Create.cs (17)
315JsonObject obj = ConvertSchemaToObject(ref schema); 370ConvertSchemaToObject(ref schema)[DefaultPropertyName] = defaultValueNode; 376ConvertSchemaToObject(ref schema).InsertAtStart(DescriptionPropertyName, (JsonNode)localDescription); 382ConvertSchemaToObject(ref schema).InsertAtStart(SchemaPropertyName, (JsonNode)SchemaKeywordUri); 420ConvertSchemaToObject(ref schema)[TitlePropertyName] ??= displayNameAttribute.DisplayName; 427ConvertSchemaToObject(ref schema)[FormatPropertyName] ??= "email"; 433ConvertSchemaToObject(ref schema)[FormatPropertyName] ??= "uri"; 439ConvertSchemaToObject(ref schema)[PatternPropertyName] ??= regexAttribute.Pattern; 445JsonObject obj = ConvertSchemaToObject(ref schema); 458JsonObject obj = ConvertSchemaToObject(ref schema); 472JsonObject obj = ConvertSchemaToObject(ref schema); 486JsonObject obj = ConvertSchemaToObject(ref schema); 592ConvertSchemaToObject(ref schema)[ContentEncodingPropertyName] ??= "base64"; 598JsonObject obj = ConvertSchemaToObject(ref schema); 622JsonObject obj = ConvertSchemaToObject(ref schema); 635JsonObject obj = ConvertSchemaToObject(ref schema); 657JsonObject obj = ConvertSchemaToObject(ref schema);