Interface HumanFeedback

Human feedback on agent performance.

interface HumanFeedback {
    feedbackId: string;
    agentId: string;
    feedbackType: "correction" | "praise" | "guidance" | "preference" | "complaint";
    aspect: "communication" | "other" | "accuracy" | "style" | "speed" | "judgment";
    content: string;
    importance: number;
    context?: Record<string, unknown>;
    providedBy: string;
    providedAt: Date;
}

Properties

feedbackId: string

Feedback identifier

agentId: string

Agent receiving feedback

feedbackType: "correction" | "praise" | "guidance" | "preference" | "complaint"

Type of feedback

aspect: "communication" | "other" | "accuracy" | "style" | "speed" | "judgment"

Specific aspect being addressed

content: string

Detailed feedback

importance: number

Severity/importance (1-5)

context?: Record<string, unknown>

Context of the feedback

providedBy: string

Who provided feedback

providedAt: Date

Timestamp