SuggestConversationSummaryResponse

The response message for Conversations.SuggestConversationSummary.

JSON representation
{
  "summary": {
    object (Summary)
  },
  "latestMessage": string,
  "contextSize": integer
}
Fields
summary

object (Summary)

Generated summary.

latestMessage

string

The name of the latest conversation message used as context for compiling suggestion.

Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

contextSize

integer

Number of messages prior to and including [last_conversation_message][] used to compile the suggestion. It may be smaller than the [SuggestSummaryRequest.context_size][] field in the request if there weren't that many messages in the conversation.

Summary

Generated summary for a conversation.

JSON representation
{
  "text": string,
  "textSections": {
    string: string,
    ...
  },
  "sortedTextSections": [
    {
      object (SummarySection)
    }
  ],
  "answerRecord": string,
  "baselineModelVersion": string
}
Fields
text

string

The summary content that is concatenated into one string.

textSections

map (key: string, value: string)

The summary content that is divided into sections. The key is the section's name and the value is the section's content. There is no specific format for the key or value.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

sortedTextSections[]

object (SummarySection)

Same as textSections, but in an order that is consistent with the order of the sections in the generator.

answerRecord

string

The name of the answer record. Format: "projects//answerRecords/"

baselineModelVersion

string

The baseline model version used to generate this summary. It is empty if a baseline model was not used to generate this summary.

SummarySection

A component of the generated summary.

JSON representation
{
  "section": string,
  "summary": string
}
Fields
section

string

Output only. Name of the section.

summary

string

Output only. Summary text for the section.