DRAFT: Add like/dislike button by compulim · Pull Request #5399 · microsoft/BotFramework-WebChat
@compulim are you aware of the feature that Teams includes? Where you can set 'feedbackLoopEnabled' in channelData?See https://github.com/microsoft/teams-ai/blob/main/getting-started/CONCEPTS/POWERED-BY-AI.md#feedback-loop. This will render a dialog in Teams, which will return a
{ name: "message/submitAction", type: "invoke" }with the feedback in thevalueproperty.Would be great if these like/dislike buttons could be standardized across the channels supported by the Bot Service (or a way to map 'feedbackLoopEnabled' to way of working in BotFramework-Webchat).
AFAIK, it is a quick solution: a simple flag to enable the dialog, without ability to put a payload for more debugging information for prompt engineers.
Invoke activity activity isn't supported across the board. The URL handler design here should be able to send the response via postback or invoke, depending on what the bot choose in the original payload.