Share via


ChatCompletionsOptions.ResponseFormat Property

Definition

An object specifying the format that the model must output. Used to enable JSON mode. Please note ChatCompletionsResponseFormat is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes..

public Azure.AI.OpenAI.ChatCompletionsResponseFormat ResponseFormat { get; set; }
member this.ResponseFormat : Azure.AI.OpenAI.ChatCompletionsResponseFormat with get, set
Public Property ResponseFormat As ChatCompletionsResponseFormat

Property Value

Applies to