Udostępnij za pośrednictwem


OnnxRuntimeGenAIPromptExecutionSettings.MaxTokens Property

Definition

Max number of tokens to generate including the prompt

[System.Text.Json.Serialization.JsonPropertyName("max_tokens")]
public int? MaxTokens { get; set; }
[<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