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