View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1LogprobsResultTopCandidates (google_api_ai_platform v0.24.0)

Candidates with top log probabilities at each decoding step.

Attributes

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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.