Share via


AzureAIInferencePromptExecutionSettings.MaxTokens Property

Definition

The maximum number of tokens to generate.

[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
[System.Text.Json.Serialization.JsonPropertyName("max_tokens")]
public int? MaxTokens { get; set; }
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)>]
[<System.Text.Json.Serialization.JsonPropertyName("max_tokens")>]
member this.MaxTokens : Nullable<int> with get, set
Public Property MaxTokens As Nullable(Of Integer)

Property Value

Attributes

Applies to