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