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 retrieves knowledge assist suggestions based on historical conversation messages using a POST request to a specific URL with a defined format."],["The `parent` path parameter is required and specifies the participant for whom suggestions are needed, following a structured format that includes project, location, conversation, and participant IDs."],["The request body can include `latestMessage`, `contextSize`, and `previousSuggestedQuery` to refine the suggestion generation process, although they are all optional fields."],["Successful requests will return a response body containing a `SuggestKnowledgeAssistResponse`, and authorization is required using one of two specified OAuth scopes."],["The API request URL uses gRPC Transcoding syntax, and the endpoint is defined by the specific supported service endpoint."]]],[]]