Skip to content

Function: pruneTurnDetection()

pruneTurnDetection(config): void

Defined in: packages/aiui-oracle/src/params.ts:430

Drop the knobs that belong to the OTHER turn-detection algorithm.

threshold means nothing to semantic_vad and eagerness nothing to server_vad, so carrying them across a type switch would send fields the vendor must reject or ignore — and the drift check would then report a problem we created ourselves. Setting the type to null collapses the whole object, which is the vendor's own spelling for no turn detection.

Parameters

config

OracleConfig

Returns

void