View Source GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRAIOutput (google_api_ai_platform v0.5.0)

This is per harm.

Attributes

  • allowed (type: boolean(), default: nil) -
  • harm (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarm.t, default: nil) -
  • name (type: String.t, default: nil) -
  • score (type: float(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRAIOutput{
  allowed: boolean() | nil,
  harm: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootHarm.t() | nil,
  name: String.t() | nil,
  score: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.