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