ParagraphsResponse: {
    audio_duration: number;
    confidence: number;
    id: string;
    paragraphs: TranscriptParagraph[];
}

Type declaration

  • audio_duration: number

    The duration of the audio file in seconds

  • confidence: number

    The confidence score for the transcript

  • id: string

    The unique identifier of your transcript

  • paragraphs: TranscriptParagraph[]

    An array of paragraphs in the transcript

{
"paragraphs": [
{
"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
}
]
},
{
"text": "Good morning. So what is it about the conditions right now that have caused this round of wildfires to affect so many people so far away? Well, there's a couple of things. The season has been pretty dry already, and then the fact that we're getting hit in the US. Is because there's a couple of weather systems that are essentially channeling the smoke from those Canadian wildfires through Pennsylvania into the Mid Atlantic and the Northeast and kind of just dropping the smoke there.",
"start": 27850,
"end": 56190,
"confidence": 0.99667,
"words": [
{
"text": "Good",
"start": 27850,
"end": 28262,
"confidence": 0.99667,
"speaker": null
},
{
"text": "morning.",
"start": 28316,
"end": 28920,
"confidence": 0.99742,
"speaker": null
},
{
"text": "So",
"start": 29290,
"end": 29702,
"confidence": 0.94736,
"speaker": null
}
]
}
],
"id": "d5a3d302-066e-43fb-b63b-8f57baf185db",
"confidence": 0.9578730257009361,
"audio_duration": 281
}