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

Attributes

  • confidence (type: String.t, default: nil) - Filter confidence.
  • debugInfo (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootFilterMetadataFilterDebugInfo.t, default: nil) - Debug info for the message.
  • fallback (type: String.t, default: nil) - A fallback message chosen by the applied filter.
  • info (type: String.t, default: nil) - Additional info for the filter.
  • name (type: String.t, default: nil) - Name of the filter that triggered.
  • reason (type: String.t, default: nil) - Filter reason.
  • text (type: String.t, default: nil) - The input query or generated response that is getting filtered.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootFilterMetadata{
  confidence: String.t() | nil,
  debugInfo:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootFilterMetadataFilterDebugInfo.t()
    | nil,
  fallback: String.t() | nil,
  info: String.t() | nil,
  name: String.t() | nil,
  reason: String.t() | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.