Skip to content

Interface: ServerVad

Defined in: packages/aiui-oracle/src/types.ts:132

Properties

create_response?

optional create_response?: boolean

Defined in: packages/aiui-oracle/src/types.ts:143

Whether a VAD stop automatically generates a reply.


idle_timeout_ms?

optional idle_timeout_ms?: number | null

Defined in: packages/aiui-oracle/src/types.ts:149

Idle time before the model speaks unprompted, ms; null disables.


interrupt_response?

optional interrupt_response?: boolean

Defined in: packages/aiui-oracle/src/types.ts:147

Whether a VAD start automatically interrupts a reply in progress. NOTE: with both this and create_response false the model never responds automatically at all — documented, and a deadlock we shipped once.


prefix_padding_ms?

optional prefix_padding_ms?: number

Defined in: packages/aiui-oracle/src/types.ts:138

Audio retained BEFORE the detected start, ms. Default 300.


silence_duration_ms?

optional silence_duration_ms?: number

Defined in: packages/aiui-oracle/src/types.ts:141

Silence that ends a turn, ms. Default 500 — the field a thinking pause runs into.


threshold?

optional threshold?: number

Defined in: packages/aiui-oracle/src/types.ts:136

Activation energy, 0–1. Default 0.5; higher ignores quieter sound — including a reply leaking back through the mic.


type

type: "server_vad"

Defined in: packages/aiui-oracle/src/types.ts:133