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

Proto to capture a signal generated by the toxicity model.

Attributes

  • allowed (type: boolean(), default: nil) -
  • label (type: String.t, default: nil) -
  • score (type: number(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootToxicitySignal{
  allowed: boolean() | nil,
  label: String.t() | nil,
  score: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.