ServerEventResponseAudioTranscriptDone interface
Returned when the model-generated transcription of audio output is done streaming. Also emitted when a Response is interrupted, incomplete, or cancelled.
- Extends
Properties
| content |
The index of the content part in the item's content array. |
| item |
The ID of the item. |
| output |
The index of the output item in the response. |
| response |
The ID of the response. |
| transcript | The final transcript of the audio. |
| type | The event type, must be |
Inherited Properties
| event |
Property Details
contentIndex
The index of the content part in the item's content array.
contentIndex: number
Property Value
number
itemId
The ID of the item.
itemId: string
Property Value
string
outputIndex
The index of the output item in the response.
outputIndex: number
Property Value
number
responseId
The ID of the response.
responseId: string
Property Value
string
transcript
The final transcript of the audio.
transcript: string
Property Value
string
type
The event type, must be response.audio_transcript.done.
type: "response.audio_transcript.done"
Property Value
"response.audio_transcript.done"