View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate (google_api_dialogflow v0.88.0)

Prompt template.

Attributes

  • displayName (type: String.t, default: nil) - Prompt name.
  • frozen (type: boolean(), default: nil) - If the flag is true, the prompt is frozen and cannot be modified by users.
  • promptText (type: String.t, default: nil) - Prompt text that is sent to a LLM on no-match default, placeholders are filled downstream. For example: "Here is a conversation $conversation, a response is: "

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate{
    displayName: String.t() | nil,
    frozen: boolean() | nil,
    promptText: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.