An event emitted when a chunk of the audio stream has been transcribed.
speakerstringrequired
Whether a line of the transcript was spoken by the user or the non-user party.
Format:
TranscriptSpeaker (string)
Possible values: [USER
, SUBJECT
]
Example:
USER
transcriptstringrequired
The transcript line corresponding to a section of the audio stream.
Example:
hello good afternoon
typestringrequired
Type discriminator.
Default value:
transcript
Example:
transcript
TranscriptEvent
{
"speaker": "USER",
"transcript": "hello good afternoon",
"type": "transcript"
}