Daily Bots uses Voice Activity Detection (VAD) to detect when a speaker starts and stops talking. This is a critical piece of functionality for turn-based conversations, as it allows the bot to know when to start and stop listening.

Configuration

stop_secs
float
default: "0.3"

The amount of time in seconds to wait after the speaker stops talking before the bot stops listening and its speaking turn.

In our experience, ranges between 0.3 and 0.8 seconds work well for most use cases. If you’re experiencing issues with the bot cutting off the speaker, try increasing this value.

Example:

{
    "service": "vad",
    "options": [
      {
        "name": "params",
        "value": {
          "stop_secs": 0.5
        }
      }
    ]
  }