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