Suggest 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}/v2beta1/{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-06-27 UTC."],[[["\u003cp\u003eThis API endpoint \u003ccode\u003ePOST https://{endpoint}/v2beta1/{conversation=projects/*/locations/*/conversations/*}/suggestions:suggestConversationSummary\u003c/code\u003e generates conversation summaries, using gRPC Transcoding syntax for URLs.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003econversation\u003c/code\u003e path parameter, which is a string indicating the conversation's location in the format \u003ccode\u003eprojects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body allows specifying \u003ccode\u003elatestMessage\u003c/code\u003e to define the message context, \u003ccode\u003econtextSize\u003c/code\u003e to limit the number of contextual messages, and \u003ccode\u003eassistQueryParams\u003c/code\u003e for human assist query parameters, all optional.\u003c/p\u003e\n"],["\u003cp\u003eThe API returns a \u003ccode\u003eSuggestConversationSummaryResponse\u003c/code\u003e upon successful completion.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this endpoint requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/dialogflow\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],[],null,[]]