STTMetrics: {
    audioDuration: number;
    duration: number;
    label: string;
    requestId: string;
    streamed: boolean;
    timestamp: number;
    type: "stt_metrics";
}

Type declaration

  • audioDuration: number

    The duration of the pushed audio in seconds.

  • duration: number

    The request duration in seconds, 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"