TurnEvent: {
    channel?: Channel;
    end_of_turn: boolean;
    end_of_turn_confidence: number;
    language_code?: string;
    language_confidence?: number;
    speaker_label?: string;
    transcript: string;
    turn_is_formatted: boolean;
    turn_order: number;
    type: "Turn";
    words: StreamingWord[];
}

Type declaration

  • Optionalchannel?: Channel

    Duration-weighted majority channel across words[i].channel. Populated only when the transcriber is configured with channels. Independent from speaker_label.

  • end_of_turn: boolean
  • end_of_turn_confidence: number
  • Optionallanguage_code?: string
  • Optionallanguage_confidence?: number
  • Optionalspeaker_label?: string
  • transcript: string
  • turn_is_formatted: boolean
  • turn_order: number
  • type: "Turn"
  • words: StreamingWord[]