Table of Contents

Class LogprobsCandidate

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Candidate for the logprobs token and score.

public class LogprobsCandidate
Inheritance
LogprobsCandidate
Inherited Members
Extension Methods

Properties

LogProbability

The candidate's log probability.

[JsonPropertyName("logProbability")]
public double? LogProbability { get; set; }

Property Value

double?

Token

The candidate's token string value.

[JsonPropertyName("token")]
public string? Token { get; set; }

Property Value

string

TokenId

The candidate's token id value.

[JsonPropertyName("tokenId")]
public int? TokenId { get; set; }

Property Value

int?

See Also