1 write to Constant
Microsoft.Extensions.AI.Abstractions (1)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (1)
159
JsonSchema discriminatorSchema = new() {
Constant
= discriminatorNode };
3 references to Constant
Microsoft.Extensions.AI.Abstractions (3)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.JsonSchema.cs (3)
296
Count(
Constant
!= null);
376
if (
Constant
!= null)
378
objSchema.Add(JsonSchemaConstants.ConstPropertyName,
Constant
);