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

Attributes

  • allowed (type: boolean(), default: nil) - False when query or response should be taken down due to match with a blocked regex, true otherwise.
  • takedownRegex (type: String.t, default: nil) - Regex used to decide that query or response should be taken down. Empty when query or response is kept.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRegexTakedownResult{
  allowed: boolean() | nil,
  takedownRegex: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.