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
- (::Google::Cloud::Dialogflow::V2::ConversationProfile) — Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
#conversation_profile=
def conversation_profile=(value) -> ::Google::Cloud::Dialogflow::V2::ConversationProfile
Parameter
- value (::Google::Cloud::Dialogflow::V2::ConversationProfile) — Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
Returns
- (::Google::Cloud::Dialogflow::V2::ConversationProfile) — Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
#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
- (::Google::Cloud::Dialogflow::V2::GenerateStatelessSummaryRequest::MinimalConversation) — Required. The conversation to suggest a summary for.
#stateless_conversation=
def stateless_conversation=(value) -> ::Google::Cloud::Dialogflow::V2::GenerateStatelessSummaryRequest::MinimalConversation
Parameter
- value (::Google::Cloud::Dialogflow::V2::GenerateStatelessSummaryRequest::MinimalConversation) — Required. The conversation to suggest a summary for.
Returns
- (::Google::Cloud::Dialogflow::V2::GenerateStatelessSummaryRequest::MinimalConversation) — Required. The conversation to suggest a summary for.