LiveServerEventLiveInputTranscriptDelta interface

A transcript fragment for user input audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event.

Extends

Properties

client_event_id

The event_id of the client command associated with this server event, when supplied.

delta

The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript.

end_ms

The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.

event_id

The unique ID of the Live server event.

start_ms

The start of this event on the Live session timeline, in milliseconds from the beginning of the session.

type

The event type, always session.input_transcript.delta.

Property Details

client_event_id

The event_id of the client command associated with this server event, when supplied.

client_event_id?: string

Property Value

string

delta

The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript.

delta: string

Property Value

string

end_ms

The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.

end_ms: number

Property Value

number

event_id

The unique ID of the Live server event.

event_id: string

Property Value

string

start_ms

The start of this event on the Live session timeline, in milliseconds from the beginning of the session.

start_ms: number

Property Value

number

type

The event type, always session.input_transcript.delta.

type: "session.input_transcript.delta"

Property Value

"session.input_transcript.delta"