Gets suggested articles for a participant based on specific historical messages.
Note that suggestions.list will only list the auto-generated suggestions, while suggestions.compile will try to compile suggestion based on the provided conversation context in the real time.
HTTP request
POST https://{endpoint}/v2beta1/{parent=projects/*/conversations/*/participants/*}/suggestions:suggestArticles
Required. The name of the participant to fetch suggestion 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:
[[["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, `suggestions:suggestArticles`, retrieves suggested articles for a participant based on their historical messages."],["The request uses a `POST` method to a specific endpoint and requires a `parent` path parameter specifying the participant's name in a defined format."],["The request body can include `latestMessage`, `contextSize`, and `assistQueryParams` to tailor the article suggestions."],["A successful response returns an instance of `SuggestArticlesResponse`, providing the list of article suggestions."],["Authorization requires either the `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/dialogflow` OAuth scope."]]],[]]