Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Settings for Generative Fallback.
Instance Attribute Summary collapse
-
#prompt_templates ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate>
Stored prompts that can be selected, for example default templates like " conservative" or "chatty", or user defined ones.
-
#selected_prompt ⇒ String
Display name of the selected prompt.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
constructor
A new instance of GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
Returns a new instance of GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings.
3746 3747 3748 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3746 def initialize(**args) update!(**args) end |
Instance Attribute Details
#prompt_templates ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate>
Stored prompts that can be selected, for example default templates like "
conservative" or "chatty", or user defined ones.
Corresponds to the JSON property promptTemplates
3739 3740 3741 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3739 def prompt_templates @prompt_templates end |
#selected_prompt ⇒ String
Display name of the selected prompt.
Corresponds to the JSON property selectedPrompt
3744 3745 3746 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3744 def selected_prompt @selected_prompt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3751 3752 3753 3754 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3751 def update!(**args) @prompt_templates = args[:prompt_templates] if args.key?(:prompt_templates) @selected_prompt = args[:selected_prompt] if args.key?(:selected_prompt) end |