View Source GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivityIntentEvalPolicy (google_api_content_warehouse v0.4.0)

Policy controlling intent level eval.

Attributes

  • allArguments (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivityArgumentEvalPolicy.t, default: nil) - Policy for all arguments, so no need to repeat on every argument.
  • enabled (type: boolean(), default: nil) - Controls whether to enabled limited logging (rpc whitelisting + GWS log query redaction) if the intent wins post-fulfillment ranking.
  • nestedIntentOnly (type: boolean(), default: nil) - The eval policy won't apply if the annotated intent is a root. This check is majorly to prevent calling IntentScrubber halfway from InterpretationScrubber via nested intents.
  • scrubEntireIntent (type: boolean(), default: nil) - Scrub entire intent before saving to eval storage, leaving only intent name and sensitivity info.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivityIntentEvalPolicy{
    allArguments:
      GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivityArgumentEvalPolicy.t()
      | nil,
    enabled: boolean() | nil,
    nestedIntentOnly: boolean() | nil,
    scrubEntireIntent: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.