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

A model can generate multiple signals and this captures all the generated signals for a single message.

Attributes

  • signals (type: list(GoogleApi.AIPlatform.V1.Model.LearningGenaiRootToxicitySignal.t), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootToxicityResult{
  signals:
    [GoogleApi.AIPlatform.V1.Model.LearningGenaiRootToxicitySignal.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.