InterruptionMetrics: {
    detectionDelay: number;
    metadata?: MetricsMetadata;
    numBackchannels: number;
    numInterruptions: number;
    numRequests: number;
    predictionDuration: number;
    timestamp: number;
    totalDuration: number;
    type: "interruption_metrics";
}

Type declaration

  • detectionDelay: number

    Latest total time from onset of speech to final prediction, in milliseconds.

  • Optional metadata?: MetricsMetadata
  • numBackchannels: number

    Number of backchannels detected (incremental).

  • numInterruptions: number

    Number of interruptions detected (incremental).

  • numRequests: number

    Number of requests sent to the model (incremental).

  • predictionDuration: number

    Latest time taken by the model side, in milliseconds.

  • timestamp: number
  • totalDuration: number

    Latest RTT time taken to perform inference, in milliseconds.

  • type: "interruption_metrics"