STTMetrics: {
    audioDurationMs: number;
    durationMs: number;
    label: string;
    requestId: string;
    streamed: boolean;
    timestamp: number;
    type: "stt_metrics";
}

Type declaration

  • audioDurationMs: number

    The duration of the pushed audio in milliseconds.

  • durationMs: number

    The request duration in milliseconds, 0.0 if the STT is streaming.

  • label: string
  • requestId: string
  • streamed: boolean

    Whether the STT is streaming (e.g using websocket).

  • timestamp: number
  • type: "stt_metrics"