Share via


HuggingFacePromptExecutionSettings.TopLogProbs Property

Definition

An integer between 0 and 5 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.

[System.Text.Json.Serialization.JsonPropertyName("top_logprobs")]
public int? TopLogProbs { get; set; }
[<System.Text.Json.Serialization.JsonPropertyName("top_logprobs")>]
member this.TopLogProbs : Nullable<int> with get, set
Public Property TopLogProbs As Nullable(Of Integer)

Property Value

Attributes

Applies to