5 references to TypePropertyName
Microsoft.Extensions.AI.Abstractions (5)
Utilities\AIJsonUtilities.Schema.cs (5)
122schema[TypePropertyName] = "object"; // Method schemas always hardcode the type as "object". 213return new JsonObject { [TypePropertyName] = null }; 251if (inferenceOptions.IncludeTypeInEnumSchemas && ctx.TypeInfo.Type.IsEnum && objSchema.ContainsKey(EnumPropertyName) && !objSchema.ContainsKey(TypePropertyName)) 253objSchema.InsertAtStart(TypePropertyName, "string"); 292obj[TypePropertyName] = numericType;