Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.
HTTP request
POST https://{endpoint}/v2/{conversation=projects/*/locations/*/conversations/*}/suggestions:suggestConversationSummary
Optional. The name of the latest conversation message used as context for compiling suggestion. If empty, the latest message of the conversation will be used.
Optional. Max number of messages prior to and including [latestMessage] to use as context when compiling the suggestion. By default 500 and at most 1000.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This endpoint allows you to request a summary for a specified conversation using a POST request."],["The request requires a conversation path parameter, formatted as `projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e/conversations/\u003cConversation ID\u003e`."],["The request body can include the latest message name, the number of context messages and parameters for a human assist query."],["The `latestMessage` field allows you to specify a message ID within the conversation to set as context, otherwise the most recent message will be used, and the context size defines the number of previous messages to be used to build the summary."],["Authorization for this request requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scopes."]]],[]]