View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SafetySettings (google_api_dialogflow v0.88.3)

Settings for Generative Safety.

Attributes

  • bannedPhrases (type: list(GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SafetySettingsPhrase.t), default: nil) - Banned phrases for generated text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SafetySettings{
  bannedPhrases:
    [
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SafetySettingsPhrase.t()
    ]
    | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.