Udostępnij przez


OllamaPromptExecutionSettings.NumPredict Property

Definition

Maximum number of output tokens. (Default: -1, infinite generation)

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

Property Value

Attributes

Applies to