Class: Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb
Overview
Settings for Generative Fallback.
Defined Under Namespace
Classes: PromptTemplate
Instance Attribute Summary collapse
-
#prompt_templates ⇒ ::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 ⇒ ::String
Display name of the selected prompt.
Instance Attribute Details
#prompt_templates ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings::PromptTemplate>
Returns Stored prompts that can be selected, for example default templates like "conservative" or "chatty", or user defined ones.
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb', line 54 class FallbackSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Prompt template. # @!attribute [rw] display_name # @return [::String] # Prompt name. # @!attribute [rw] prompt_text # @return [::String] # 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: " # @!attribute [rw] frozen # @return [::Boolean] # If the flag is true, the prompt is frozen and cannot be modified by # users. class PromptTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#selected_prompt ⇒ ::String
Returns Display name of the selected prompt.
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb', line 54 class FallbackSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Prompt template. # @!attribute [rw] display_name # @return [::String] # Prompt name. # @!attribute [rw] prompt_text # @return [::String] # 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: " # @!attribute [rw] frozen # @return [::Boolean] # If the flag is true, the prompt is frozen and cannot be modified by # users. class PromptTemplate include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |