OnnxRuntimeGenAIPromptExecutionSettings.MaxTokens Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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