1 instantiation of ChatResponseFormatText
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatResponseFormat.cs (1)
25public static ChatResponseFormatText Text { get; } = new();
10 references to ChatResponseFormatText
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
279ChatResponseFormatText => "text",
Microsoft.Extensions.AI.Abstractions (7)
ChatCompletion\ChatResponseFormat.cs (2)
12[JsonDerivedType(typeof(ChatResponseFormatText), typeDiscriminator: "text")] 25public static ChatResponseFormatText Text { get; } = new();
ChatCompletion\ChatResponseFormatText.cs (5)
10/// Use <see cref="ChatResponseFormat.Text"/> to get an instance of <see cref="ChatResponseFormatText"/>. 15/// <summary>Initializes a new instance of the <see cref="ChatResponseFormatText"/> class.</summary> 16/// <remarks> Use <see cref="ChatResponseFormat.Text"/> to get an instance of <see cref="ChatResponseFormatText"/>.</remarks> 23public override bool Equals(object? obj) => obj is ChatResponseFormatText; 26public override int GetHashCode() => typeof(ChatResponseFormatText).GetHashCode();
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
361if (options.ResponseFormat is ChatResponseFormatText)
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
475if (options.ResponseFormat is ChatResponseFormatText)