Show / Hide Table of Contents

Class GoogleCloudAiplatformV1LogprobsResultCandidate

A single token and its associated log probability.

Inheritance
object
GoogleCloudAiplatformV1LogprobsResultCandidate
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1LogprobsResultCandidate : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

LogProbability

The log probability of this token. A higher value indicates that the model was more confident in this token. The log probability can be used to assess the relative likelihood of different tokens and to identify when the model is uncertain.

Declaration
[JsonProperty("logProbability")]
public virtual float? LogProbability { get; set; }
Property Value
Type Description
float?

Token

The token's string representation.

Declaration
[JsonProperty("token")]
public virtual string Token { get; set; }
Property Value
Type Description
string

TokenId

The token's numerical ID. While the token field provides the string representation of the token, the token_id is the numerical representation that the model uses internally. This can be useful for developers who want to build custom logic based on the model's vocabulary.

Declaration
[JsonProperty("tokenId")]
public virtual int? TokenId { get; set; }
Property Value
Type Description
int?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX