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

Attributes

  • allowed (type: boolean(), default: nil) - False when query or response should be taken down by any of the takedown rules, true otherwise.
  • regexTakedownResult (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRegexTakedownResult.t, default: nil) -
  • requestResponseTakedownResult (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRequestResponseTakedownResult.t, default: nil) -
  • similarityTakedownResult (type: GoogleApi.AIPlatform.V1.Model.LearningGenaiRootSimilarityTakedownResult.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootTakedownResult{
  allowed: boolean() | nil,
  regexTakedownResult:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRegexTakedownResult.t() | nil,
  requestResponseTakedownResult:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRequestResponseTakedownResult.t()
    | nil,
  similarityTakedownResult:
    GoogleApi.AIPlatform.V1.Model.LearningGenaiRootSimilarityTakedownResult.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.