Feedback
If enabled, feedback buttons will be present in messages that allow the user to provide an indication of whether the message was useful/correct or not. This feature can be used with LLM's for training.
Enable Message Feedback
app.on('message', async ({ send }) => {
await send(MessageSendActivity('hi!').feedback());
});
Handling Message Feedback
app.on('message.submit.feedback', ({ log, activity }) => {
log.debug(activity);
return { status: 200 };
});