Interface UserFeedbackPayload

Defines the structure for user-provided feedback on a GMI's performance or a specific message. This feedback is crucial for the GMI's adaptive learning capabilities and for system analytics.

UserFeedbackPayload

interface UserFeedbackPayload {
    rating?: "positive" | "negative" | "neutral";
    score?: number;
    text?: string;
    tags?: string[];
    correctedContent?: string;
    targetMessageId?: string;
    customData?: Record<string, any>;
}

Properties

rating?: "positive" | "negative" | "neutral"
score?: number
text?: string
tags?: string[]
correctedContent?: string
targetMessageId?: string
customData?: Record<string, any>