CompletionCreateRequest.NumberOfChoices

CompletionCreateRequest.NumberOfChoices property

Gets or sets how many chat completion choices to generate for each input message. Note that you will be charged based on the number of generated tokens across all of the choices. Keep n as 1 to minimize costs.

public int? NumberOfChoices { get; set; }

See Also