Share via


AzureOpenAIPromptExecutionSettings.SetNewMaxCompletionTokensEnabled Property

Definition

Enabling this property will enforce the new max_completion_tokens parameter to be send the Azure OpenAI API.

[System.Text.Json.Serialization.JsonIgnore]
public bool SetNewMaxCompletionTokensEnabled { get; set; }
[<System.Text.Json.Serialization.JsonIgnore>]
member this.SetNewMaxCompletionTokensEnabled : bool with get, set
Public Property SetNewMaxCompletionTokensEnabled As Boolean

Property Value

Attributes

Remarks

This setting is temporary and flags the underlying Azure SDK to use the new max_completion_tokens parameter using the SetNewMaxCompletionTokensPropertyEnabled extension.

Applies to