Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings::PromptTemplate (v1.1.1)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::GenerativeSettings::FallbackSettings::PromptTemplate.

Prompt template.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_name

def display_name() -> ::String
Returns
  • (::String) — Prompt name.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Prompt name.
Returns
  • (::String) — Prompt name.

#frozen

def frozen() -> ::Boolean
Returns
  • (::Boolean) — If the flag is true, the prompt is frozen and cannot be modified by users.

#frozen=

def frozen=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.

#prompt_text

def prompt_text() -> ::String
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: "

#prompt_text=

def prompt_text=(value) -> ::String
Parameter
  • value (::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: "
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: "