Class HumanInteractionManager

Implementation of the Human-in-the-Loop Manager.

Features:

  • Approval requests with severity levels
  • Clarification requests with options
  • Output review and editing
  • Escalation handling
  • Workflow checkpoints
  • Feedback collection for learning

Implements

Implements

Constructors

Methods

  • Gets feedback history for an agent.

    Parameters

    • agentId: string
    • Optional options: {
          limit?: number;
          since?: Date;
          type?: "correction" | "praise" | "guidance" | "preference" | "complaint";
      }
      • Optional limit?: number
      • Optional since?: Date
      • Optional type?: "correction" | "praise" | "guidance" | "preference" | "complaint"

    Returns Promise<HumanFeedback[]>