Class: Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings::PromptTemplate

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb

Overview

Prompt template.

Instance Attribute Summary collapse

Instance Attribute Details

#display_name::String

Returns Prompt name.

Returns:

  • (::String)

    Prompt name.



71
72
73
74
# File 'proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb', line 71

class PromptTemplate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#frozen::Boolean

Returns If the flag is true, the prompt is frozen and cannot be modified by users.

Returns:

  • (::Boolean)

    If the flag is true, the prompt is frozen and cannot be modified by users.



71
72
73
74
# File 'proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb', line 71

class PromptTemplate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#prompt_text::String

Returns 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: ".

Returns:

  • (::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: "



71
72
73
74
# File 'proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb', line 71

class PromptTemplate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end