WaitCurveSettings
Shape the wait after the caller stops speaking by the turn detector's confidence. Off, the turn ends after min_wait_ms when the turn detector's end-of-turn probability is at or above threshold, and after max_wait_ms otherwise. On, the wait falls smoothly from max_wait_ms to min_wait_ms as the probability rises, halfway at midpoint and more sharply as steepness grows: wait_ms = min_wait_ms + (max_wait_ms - min_wait_ms) / (1 + exp(steepness * (probability - midpoint))), clamped to the two waits. With detector: silence there is no probability, so every turn still waits max_wait_ms. Defaults: off, midpoint 0.5, steepness 25 (targets).
An object with 3 fields.
Fields
enabledbooleanWhether the wait after the end of speech follows the probability-to-wait curve.
true makes the wait fall smoothly from max_wait_ms to min_wait_ms as the turn detector's end-of-turn probability rises, so threshold no longer chooses the wait; false keeps the step rule (min_wait_ms at or above threshold, max_wait_ms below it). false when omitted.midpointnumberThe end-of-turn probability at which the curve's wait is halfway between
min_wait_ms and max_wait_ms: 0.01 to 0.95; 0.5 when omitted (a target).steepnessnumberHow sharply the curve's wait falls around
midpoint: 1 to 100; 25 when omitted (a target). A larger value comes closer to the step rule at the midpoint.