View Source GoogleApi.AIPlatform.V1.Model.LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate (google_api_ai_platform v0.3.0)

A candidate at a decoding step.

Attributes

  • logProbability (type: number(), default: nil) - The candidate's log probability.
  • token (type: String.t, default: nil) - The candidate’s token value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate{
    logProbability: number() | nil,
    token: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.