View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings (google_api_dialogflow v0.88.2)

Settings for Generative Fallback.

Attributes

  • promptTemplates (type: list(GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate.t), default: nil) - Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user defined ones.
  • selectedPrompt (type: String.t, default: nil) - Display name of the selected prompt.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings{
    promptTemplates:
      [
        GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate.t()
      ]
      | nil,
    selectedPrompt: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.