Overview

Predict when the user has finished speaking, on your servers with the VIVA SDK.

Turn-Taking predicts when the user has finished their turn, so your voice AI agent responds without awkward pauses and without cutting the user off. It replaces silence-based end-of-turn detection with a model that listens to how the user speaks.

How you use it

Turn-Taking is part of the VIVA SDK and runs on your servers, inside your audio pipeline:

What you getAn end-of-turn probability for every frame
Voice activityFrom your own VAD
TuningYour probability threshold
Works withYour own STT, or a framework such as Pipecat

See Turn-Taking (VIVA SDK) for how the model works and how to integrate it.

Key points

  • Run Turn-Taking on audio cleaned by Voice Isolation. Background voices otherwise look like the user still speaking.
  • The SDK model (TTv3, krisp-viva-tp-v3) works with all languages. The official samples use 20 ms input frames.
  • Moving from TTv2? See Migrating to TTv3.

Did this page help you?