RealtimeServerEventResponseAudioDelta interface

Returned when the model-generated audio is updated.

Extends

Properties

content_index

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

delta

Base64-encoded audio data delta.

event_id

The unique ID of the server event.

item_id

The ID of the item.

output_index

The index of the output item in the response.

response_id

The ID of the response.

type

The event type, must be response.output_audio.delta.

Property Details

content_index

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

content_index: number

Property Value

number

delta

Base64-encoded audio data delta.

delta: Uint8Array

Property Value

Uint8Array

event_id

The unique ID of the server event.

event_id: string

Property Value

string

item_id

The ID of the item.

item_id: string

Property Value

string

output_index

The index of the output item in the response.

output_index: number

Property Value

number

response_id

The ID of the response.

response_id: string

Property Value

string

type

The event type, must be response.output_audio.delta.

type: "response.output_audio.delta"

Property Value

"response.output_audio.delta"