1 write to SchemaName
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatResponseFormatJson.cs (1)
32
SchemaName
= schemaName;
9 references to SchemaName
Microsoft.Extensions.AI.Abstractions (2)
ChatCompletion\ChatResponseFormatJson.cs (2)
49
SchemaName
== other.
SchemaName
&&
Microsoft.Extensions.AI.Abstractions.Tests (3)
ChatCompletion\ChatResponseFormatTests.cs (3)
32
Assert.Null(f.
SchemaName
);
41
Assert.Equal("name", f.
SchemaName
);
109
Assert.Equal("name", (result as ChatResponseFormatJson)?.
SchemaName
);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
482
OpenAI.Chat.ChatResponseFormat.CreateJsonSchemaFormat(jsonFormat.
SchemaName
?? "json_schema", BinaryData.FromString(jsonSchema), jsonFormat.SchemaDescription) :
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\ChatClientStructuredOutputExtensionsTests.cs (3)
35
Assert.Null(responseFormat.
SchemaName
);
178
Assert.Equal(nameof(Animal), responseFormat.
SchemaName
);
221
Assert.Matches("Data_1", responseFormat.
SchemaName
);