View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2GenerateStatelessSummaryResponse (google_api_dialogflow v0.78.0)

The response message for Conversations.GenerateStatelessSummary.

Attributes

  • contextSize (type: integer(), default: nil) - Number of messages prior to and including last_conversation_message used to compile the suggestion. It may be smaller than the GenerateStatelessSummaryRequest.context_size field in the request if there weren't that many messages in the conversation.
  • latestMessage (type: String.t, default: nil) - The name of the latest conversation message used as context for compiling suggestion. The format is specific to the user and the names of the messages provided.
  • summary (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary.t, default: nil) - Generated summary.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2GenerateStatelessSummaryResponse{
    contextSize: integer() | nil,
    latestMessage: String.t() | nil,
    summary:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.