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."],["The HTTP request is a POST method to a specific endpoint with path parameters including project, conversation, and participant IDs."],["The request body, represented in JSON, allows for specifying the latest message, context size, and a previously suggested query to refine suggestions."],["Successful requests return a `SuggestKnowledgeAssistResponse`, while authorization requires specific OAuth scopes related to Google Cloud Platform or Dialogflow."],["The path parameter `parent` is mandatory and requires `dialogflow.suggestions.list` IAM permissions."]]],[]]