Required. The name of the participant to fetch suggestions for. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/participants/<Participant ID>.
Authorization requires the following IAM permission on the specified resource parent:
dialogflow.suggestions.list
Request body
The request body contains data with the following structure:
Optional. The name of the latest conversation message to compile suggestions for. If empty, it will be the latest message of the conversation. Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>.
contextSize
integer
Optional. Max number of messages prior to and including latestMessage to use as context when compiling the suggestion. The context size is by default 100 and at most 100.
previousSuggestedQuery
string
Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is reasonably different from the previous one. This is useful to avoid similar suggestions within the conversation.
[[["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 API endpoint, `POST https://{endpoint}/v2beta1/{parent=projects/*/locations/*/conversations/*/participants/*}/suggestions:suggestKnowledgeAssist`, retrieves knowledge assist suggestions based on historical conversation messages."],["The required `parent` path parameter specifies the participant's name in the format `projects/\u003cProject ID\u003e/locations/\u003cLocation ID\u003e/conversations/\u003cConversation ID\u003e/participants/\u003cParticipant ID\u003e`, and the caller needs `dialogflow.suggestions.list` IAM permission."],["The request body allows for specifying `latestMessage`, `contextSize`, and `previousSuggestedQuery` to customize the suggestion generation, with the context size limited to a maximum of 100 messages."],["Successful requests return a `SuggestKnowledgeAssistResponse`, and the API requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scope for authorization."]]],[]]