ServerEventInputAudioBufferCommitted interface

Returned when an input audio buffer is committed, either by the client or automatically in server VAD mode. The item_id property is the ID of the user message item that will be created, thus a conversation.item.created event will also be sent to the client.

Extends

Properties

itemId

The ID of the user message item that will be created.

previousItemId

The ID of the preceding item after which the new item will be inserted.

type

The event type, must be input_audio_buffer.committed.

Inherited Properties

eventId

Property Details

itemId

The ID of the user message item that will be created.

itemId: string

Property Value

string

previousItemId

The ID of the preceding item after which the new item will be inserted.

previousItemId?: string

Property Value

string

type

The event type, must be input_audio_buffer.committed.

type: "input_audio_buffer.committed"

Property Value

"input_audio_buffer.committed"

Inherited Property Details

eventId

eventId?: string

Property Value

string

Inherited From ServerEvent.eventId