1 write to SchemaName
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatResponseFormatJson.cs (1)
31
SchemaName
= schemaName;
8 references to SchemaName
Microsoft.Extensions.AI.Abstractions.Tests (4)
ChatCompletion\ChatResponseFormatTests.cs (4)
34
Assert.Null(f.
SchemaName
);
43
Assert.Equal("name", f.
SchemaName
);
67
Assert.Null(actual.
SchemaName
);
81
Assert.Equal("name", actual.
SchemaName
);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIModelMapper.ChatCompletion.cs (1)
334
jsonFormat.
SchemaName
?? "json_schema",
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\ChatClientStructuredOutputExtensionsTests.cs (3)
35
Assert.Null(responseFormat.
SchemaName
);
178
Assert.Equal(nameof(Animal), responseFormat.
SchemaName
);
223
Assert.Matches("Data_1", responseFormat.
SchemaName
);