View Source GoogleApi.AIPlatform.V1.Model.LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates (google_api_ai_platform v0.2.0)

Candidates with top log probabilities at each decoding step.

Attributes

  • candidates (type: list(GoogleApi.AIPlatform.V1.Model.LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate.t), default: nil) - Sorted by log probability in descending order.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootTokensAndLogProbPerDecodingStepTopCandidates{
    candidates:
      [
        GoogleApi.AIPlatform.V1.Model.LearningGenaiRootTokensAndLogProbPerDecodingStepCandidate.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.