interface AMDPredictionEvent {
    category: AMDCategory;
    delay: number;
    inferenceDuration: null | number;
    reason: AMDReason;
    speechDuration: number;
    stage: AMDCategory;
    transcript: string;
    turnId: number;
    type: "amd_prediction";
}

Properties

category: AMDCategory

Prediction for this turn. uncertain and wait keep the current stage.

delay: number

Time from the turn commit to this event, in milliseconds.

inferenceDuration: null | number

Classification time in milliseconds, or null when no model prediction was released.

reason: AMDReason
speechDuration: number

User speech in this turn, in milliseconds.

Stage after this prediction. Never wait.

transcript: string
turnId: number
type: "amd_prediction"