Class GoogleCloudAiplatformV1LogprobsResult
The log probabilities of the tokens generated by the model. This is useful for understanding the model's confidence in its predictions and for debugging. For example, you can use log probabilities to identify when the model is making a less confident prediction or to explore alternative responses that the model considered. A low log probability can also indicate that the model is "hallucinating" or generating factually incorrect information.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1LogprobsResult : IDirectResponseSchema
Properties
ChosenCandidates
A list of the chosen candidate tokens at each decoding step. The length of this list is equal to the total
number of decoding steps. Note that the chosen candidate might not be in top_candidates.
Declaration
[JsonProperty("chosenCandidates")]
public virtual IList<GoogleCloudAiplatformV1LogprobsResultCandidate> ChosenCandidates { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudAiplatformV1LogprobsResultCandidate> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TopCandidates
A list of the top candidate tokens at each decoding step. The length of this list is equal to the total number of decoding steps.
Declaration
[JsonProperty("topCandidates")]
public virtual IList<GoogleCloudAiplatformV1LogprobsResultTopCandidates> TopCandidates { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudAiplatformV1LogprobsResultTopCandidates> |