PutFeedback
Source:
src/AWS/QBusiness/PutFeedback.ts
Runtime binding for the PutFeedback operation (IAM action
qbusiness:PutFeedback), scoped to one Application.
Records end-user usefulness feedback (thumbs up/down and reasons)
for a chat message, which Amazon Q Business uses to improve
response quality.
Provide the implementation with
Effect.provide(AWS.QBusiness.PutFeedbackHttp).
const feedback = yield* AWS.QBusiness.PutFeedback(app);
yield* feedback({ conversationId: reply.conversationId!, messageId: reply.systemMessageId!, messageUsefulness: { usefulness: "USEFUL", submittedAt: new Date(), },});