Share via


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

contentIndex

The index of the content part in the item's content array.

itemId

The ID of the item.

outputIndex

The index of the output item in the response.

responseId

The ID of the response.

transcript

The final transcript of the audio.

type

The event type, must be response.audio_transcript.done.

Inherited Properties

eventId

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"

Inherited Property Details

eventId

eventId?: string

Property Value

string

Inherited From ServerEvent.eventId