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

Attributes

  • calculationType (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootCalculationType.t, default: nil) -
  • internalMetadata (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootInternalMetadata.t, default: nil) - The internal_metadata is intended to be used by internal processors and will be cleared before returns.
  • thresholdType (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootThresholdType.t, default: nil) -
  • tokensAndLogprobPerDecodingStep (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootTokensAndLogProbPerDecodingStep.t, default: nil) - Top candidate tokens and log probabilities at each decoding step.
  • value (type: float(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootScore{
  calculationType:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootCalculationType.t() | nil,
  internalMetadata:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootInternalMetadata.t() | nil,
  thresholdType:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootThresholdType.t() | nil,
  tokensAndLogprobPerDecodingStep:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootTokensAndLogProbPerDecodingStep.t()
    | nil,
  value: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.