Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::GenerateStatelessSummaryRequest (v1.4.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::GenerateStatelessSummaryRequest.

The request message for Conversations.GenerateStatelessSummary.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#conversation_profile

def conversation_profile() -> ::Google::Cloud::Dialogflow::V2::ConversationProfile
Returns

#conversation_profile=

def conversation_profile=(value) -> ::Google::Cloud::Dialogflow::V2::ConversationProfile
Parameter
Returns

#latest_message

def latest_message() -> ::String
Returns
  • (::String) — Optional. The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.

#latest_message=

def latest_message=(value) -> ::String
Parameter
  • value (::String) — Optional. The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.
Returns
  • (::String) — Optional. The name of the latest conversation message used as context for generating a Summary. If empty, the latest message of the conversation will be used. The format is specific to the user and the names of the messages provided.

#max_context_size

def max_context_size() -> ::Integer
Returns
  • (::Integer) — Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.

#max_context_size=

def max_context_size=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.
Returns
  • (::Integer) — Optional. Max number of messages prior to and including [latest_message] to use as context when compiling the suggestion. By default 500 and at most 1000.

#stateless_conversation

def stateless_conversation() -> ::Google::Cloud::Dialogflow::V2::GenerateStatelessSummaryRequest::MinimalConversation
Returns

#stateless_conversation=

def stateless_conversation=(value) -> ::Google::Cloud::Dialogflow::V2::GenerateStatelessSummaryRequest::MinimalConversation
Parameter
Returns