3 references to ForJsonSchema
Microsoft.Extensions.AI (1)
ChatCompletion\ChatClientStructuredOutputExtensions.cs (1)
163options.ResponseFormat = ChatResponseFormat.ForJsonSchema(
Microsoft.Extensions.AI.Abstractions.Tests (1)
ChatCompletion\ChatResponseFormatTests.cs (1)
74ChatResponseFormat.ForJsonSchema(JsonSerializer.Deserialize<JsonElement>("[1,2,3]"), "name", "description"),
Microsoft.Extensions.AI.AzureAIInference.Tests (1)
AzureAIInferenceChatClientTests.cs (1)
409ResponseFormat = ChatResponseFormat.ForJsonSchema(JsonSerializer.Deserialize<JsonElement>("""