ServerEventInputAudioBufferSpeechStopped interface

Returned in server_vad mode when the server detects the end of speech in the audio buffer. The server will also send an conversation.item.created event with the user message item that is created from the audio buffer.

Extends

Properties

audioEndInMs

Milliseconds since the session started when speech stopped. This will correspond to the end of audio sent to the model, and thus includes the min_silence_duration_ms configured in the Session.

itemId

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

type

The event type, must be input_audio_buffer.speech_stopped.

Inherited Properties

eventId

Property Details

audioEndInMs

Milliseconds since the session started when speech stopped. This will correspond to the end of audio sent to the model, and thus includes the min_silence_duration_ms configured in the Session.

audioEndInMs: number

Property Value

number

itemId

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

itemId: string

Property Value

string

type

The event type, must be input_audio_buffer.speech_stopped.

type: "input_audio_buffer.speech_stopped"

Property Value

"input_audio_buffer.speech_stopped"

Inherited Property Details

eventId

eventId?: string

Property Value

string

Inherited From ServerEvent.eventId