TranscriptParagraph: {
    confidence: number;
    end: number;
    speaker?: string | null;
    start: number;
    text: string;
    words: TranscriptWord[];
}

Type declaration

  • confidence: number
  • end: number
  • Optionalspeaker?: string | null

    The speaker of the sentence if Speaker Diarization is enabled, else null

  • start: number
  • text: string
  • words: TranscriptWord[]
{
"text": "Smoke from hundreds of wildfires in Canada is triggering air quality alerts throughout the US. Skylines from Maine to Maryland to Minnesota are gray and smoggy. And in some places, the air quality warnings include the warning to stay inside. We wanted to better understand what's happening here and why, so we called Peter Decarlo, an associate professor in the Department of Environmental Health and Engineering at Johns Hopkins University. Good morning, professor.",
"start": 250",
"end": 26950,
"confidence": 0.73033,
"words": [
{
"text": "Smoke",
"start": 250,
"end": 650,
"confidence": 0.73033,
"speaker": null
},
{
"text": "from",
"start": 730,
"end": 1022,
"confidence": 1,
"speaker": null
},
{
"text": "hundreds",
"start": 1076,
"end": 1466,
"confidence": 0.99992,
"speaker": null
},
{
"text": "of",
"start": 1498,
"end": 1646,
"confidence": 1,
"speaker": null
}
]
}