SubmitFeedback
Source:
src/AWS/Kendra/SubmitFeedback.ts
Runtime binding for the SubmitFeedback operation (IAM action
kendra:SubmitFeedback), scoped to one Index.
Submits click and relevance feedback for a query’s results — Kendra
uses it to tune the index’s relevance over time (incremental learning).
Provide the implementation with
Effect.provide(AWS.Kendra.SubmitFeedbackHttp).
Querying an Index
Section titled “Querying an Index”const submitFeedback = yield* AWS.Kendra.SubmitFeedback(index);
yield* submitFeedback({ QueryId: queryId, ClickFeedbackItems: [{ ResultId: resultId, ClickTime: new Date() }],});