Class GenerateStatelessSummaryRequest (2.26.0)

GenerateStatelessSummaryRequest(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

The request message for Conversations.GenerateStatelessSummary.

Attributes

NameDescription
stateless_conversation google.cloud.dialogflow_v2.types.GenerateStatelessSummaryRequest.MinimalConversation
Required. The conversation to suggest a summary for.
conversation_profile google.cloud.dialogflow_v2.types.ConversationProfile
Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
latest_message str
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.

Classes

MinimalConversation

MinimalConversation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The minimum amount of information required to generate a Summary without having a Conversation resource created.