5 references to ConvertSchemaToObject
Microsoft.Extensions.AI.Abstractions (5)
Utilities\AIJsonUtilities.Schema.cs (5)
252ConvertSchemaToObject(ref schema).InsertAtStart(DescriptionPropertyName, (JsonNode)attr.Description); 313JsonObject obj = ConvertSchemaToObject(ref schema); 325JsonObject obj = ConvertSchemaToObject(ref schema); 343ConvertSchemaToObject(ref schema)[DefaultPropertyName] = defaultValue; 349ConvertSchemaToObject(ref schema).InsertAtStart(SchemaPropertyName, (JsonNode)SchemaKeywordUri);