Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings.
Settings for Generative Fallback.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#prompt_templates
def prompt_templates() -> ::Array<::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings::PromptTemplate>
Returns
- (::Array<::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings::PromptTemplate>) — Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user defined ones.
#prompt_templates=
def prompt_templates=(value) -> ::Array<::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings::PromptTemplate>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings::PromptTemplate>) — Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user defined ones.
Returns
- (::Array<::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings::PromptTemplate>) — Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user defined ones.
#selected_prompt
def selected_prompt() -> ::String
Returns
- (::String) — Display name of the selected prompt.
#selected_prompt=
def selected_prompt=(value) -> ::String
Parameter
- value (::String) — Display name of the selected prompt.
Returns
- (::String) — Display name of the selected prompt.