Interface FeedbackEntry
interface FeedbackEntry {
idx: string;
relevant: boolean;
correct: boolean | null;
advice: string | null;
}
idx: string;
relevant: boolean;
correct: boolean | null;
advice: string | null;
}
Properties
Readonlyidx
idx: string
The idx that was rated.
Readonlyrelevant
relevant: boolean
The relevance that was recorded.
Readonlycorrect
correct: boolean | null
The correctness that was recorded, or null when the rating left it out.
Readonlyadvice
advice: string | null
Anything the service wants to say back about this rating.
What the service recorded for one rating.
The verdict is echoed back rather than merely acknowledged, so a caller can see what actually landed against a handle.
adviceis the suggestion this particular verdict earned, and isnullwhen the verdict suggests nothing. It addresses one result, which is why it sits here rather than on FeedbackResult.