Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class GenerateStatelessSummaryRequest.
The request message for Conversations.GenerateStatelessSummary .
Generated from protobuf message google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ stateless_conversation
Google\Cloud\Dialogflow\V2\GenerateStatelessSummaryRequest\MinimalConversation
Required. The conversation to suggest a summary for.
↳ conversation_profile
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
string
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
int
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.
getStatelessConversation
Required. The conversation to suggest a summary for.
hasStatelessConversation
clearStatelessConversation
setStatelessConversation
Required. The conversation to suggest a summary for.
$this
getConversationProfile
Required. A ConversationProfile containing information required for Summary generation.
Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
hasConversationProfile
clearConversationProfile
setConversationProfile
Required. A ConversationProfile containing information required for Summary generation.
Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
$this
getLatestMessage
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.
string
setLatestMessage
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.
var
string
$this
getMaxContextSize
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.
int
setMaxContextSize
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.
var
int
$this