RealtimeServerEventConversationItemInputAudioTranscriptionSegment interface

Returned when an input audio transcription segment is identified for an item.

Extends

Properties

content_index

The index of the input audio content part within the item.

end

End time of the segment in seconds.

event_id

The unique ID of the server event.

id

The segment identifier.

item_id

The ID of the item containing the input audio content.

speaker

The detected speaker label for this segment.

start

Start time of the segment in seconds.

text

The text for this segment.

type

The event type, must be conversation.item.input_audio_transcription.segment.

Property Details

content_index

The index of the input audio content part within the item.

content_index: number

Property Value

number

end

End time of the segment in seconds.

end: number

Property Value

number

event_id

The unique ID of the server event.

event_id: string

Property Value

string

id

The segment identifier.

id: string

Property Value

string

item_id

The ID of the item containing the input audio content.

item_id: string

Property Value

string

speaker

The detected speaker label for this segment.

speaker: string

Property Value

string

start

Start time of the segment in seconds.

start: number

Property Value

number

text

The text for this segment.

text: string

Property Value

string

type

The event type, must be conversation.item.input_audio_transcription.segment.

type: "conversation.item.input_audio_transcription.segment"

Property Value

"conversation.item.input_audio_transcription.segment"