6 references to TypePropertyName
Microsoft.Extensions.AI.Abstractions (6)
Utilities\AIJsonUtilities.Schema.Create.cs (5)
131schema[TypePropertyName] = "object"; // Method schemas always hardcode the type as "object". 237return new JsonObject { [TypePropertyName] = null }; 274if (inferenceOptions.IncludeTypeInEnumSchemas && ctx.TypeInfo.Type.IsEnum && objSchema.ContainsKey(EnumPropertyName) && !objSchema.ContainsKey(TypePropertyName)) 276objSchema.InsertAtStart(TypePropertyName, "string"); 324obj[TypePropertyName] = numericType;
Utilities\AIJsonUtilities.Schema.Transform.cs (1)
140schemaObj.TryGetPropertyValue(TypePropertyName, out JsonNode? typeSchema) &&