View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettings (google_api_dialogflow v0.78.0)

Settings for Generative AI.

Attributes

  • fallbackSettings (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings.t, default: nil) - Settings for Generative Fallback.
  • generativeSafetySettings (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SafetySettings.t, default: nil) - Settings for Generative Safety.
  • knowledgeConnectorSettings (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings.t, default: nil) - Settings for knowledge connector.
  • languageCode (type: String.t, default: nil) - Language for this settings.
  • name (type: String.t, default: nil) - Format: projects//locations//agents//generativeSettings.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettings{
    fallbackSettings:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings.t()
      | nil,
    generativeSafetySettings:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SafetySettings.t()
      | nil,
    knowledgeConnectorSettings:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings.t()
      | nil,
    languageCode: String.t() | nil,
    name: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.