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 endpoint retrieves knowledge assist suggestions based on historical conversation messages using a POST request."],["The request URL requires a `parent` path parameter, specifying the participant for whom suggestions are fetched, with a specific format."],["The request body can include `latestMessage`, `contextSize`, and `previousSuggestedQuery` fields to customize the suggestion compilation."],["The service requires authorization with either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scope."],["The Response body will contain an instance of `SuggestKnowledgeAssistResponse` if the request is successful."]]],[]]