View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2GenerateStatelessSummaryRequest (google_api_dialogflow v0.88.3)

The request message for Conversations.GenerateStatelessSummary.

Attributes

  • conversationProfile (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationProfile.t, default: nil) - Required. A ConversationProfile containing information required for Summary generation. Required fields: {language_code, security_settings} Optional fields: {agent_assistant_config}
  • latestMessage (type: String.t, default: nil) - 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.
  • maxContextSize (type: integer(), default: nil) - 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.
  • statelessConversation (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation.t, default: nil) - Required. The conversation to suggest a summary for.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2GenerateStatelessSummaryRequest{
    conversationProfile:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ConversationProfile.t()
      | nil,
    latestMessage: String.t() | nil,
    maxContextSize: integer() | nil,
    statelessConversation:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation.t()
      | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.