Skip to Content

Interface FeedbackEntry

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.

advice is the suggestion this particular verdict earned, and is null when the verdict suggests nothing. It addresses one result, which is why it sits here rather than on FeedbackResult.

interface FeedbackEntry {
    idx: string;
    relevant: boolean;
    correct: boolean;
    advice: string | null;
}
Index
idx: string

The idx that was rated.

relevant: boolean

The relevance that was recorded.

correct: boolean

The correctness that was recorded.

advice: string | null

Anything the service wants to say back about this rating.