> ## Documentation Index
> Fetch the complete documentation index at: https://docs.poly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Prompting turn-taking

> Set how patient Dialog-RSN-1 is by describing your callers in `instructions`, and prompt for multi-item answers, a fallback when a caller is stuck, and reactions to non-speech sounds.

Dialog-RSN-1 knows when to speak as well as what to say. It decides when the caller has finished from the whole conversation as well as the audio, so it waits through pauses and slow speech, replies quickly once a turn is clearly done, and handles barge-in and interruptions. The caller can interrupt Dialog-RSN-1, and it never talks over the caller.

You tune turn-taking in plain language in `instructions`, by describing your callers. The realtime schema's timing fields, such as `silence_duration_ms` and `threshold`, are accepted and ignored. See [Configure the session](https://docs.poly.ai/api-reference/dialog-rsn-1/reference.md#configure-the-session) for how each `turn_detection` field is handled.

## Describing your callers

Add a line that says how your callers talk. If they read out numbers or think aloud, ask for more patience:

```text instructions: patient theme={"theme":{"light":"github-light","dark":"github-dark"}}
Callers often pause while they read out account numbers, dates or
addresses, or while they think. Treat those pauses as part of the turn
and wait until they have clearly finished.
```

If they mostly give short answers, ask for a quicker back-and-forth:

```text instructions: brisk theme={"theme":{"light":"github-light","dark":"github-dark"}}
Callers here give short answers like yes, no, or a single word. As soon
as a short answer is complete, treat the turn as finished.
```

Leave the line out for the default balance. The sample app in the [Cartesia voice agent guide](https://docs.poly.ai/dialog-rsn-1/guides/voice-agent-cartesia.md) has a **Turn-taking** menu with these three settings, so you can try each one.

## Waiting for a complete sequence

Tell Dialog-RSN-1 what a complete answer looks like when callers have several things to say, such as the items in an order or more than one date.

```text instructions: wait for a full answer theme={"theme":{"light":"github-light","dark":"github-dark"}}
The caller may have more than one thing to tell you, for example several
items in an order or more than one date to check. A pause after the first
one is part of the same answer. Wait until they've given you everything,
then read the full list back before you act on it.
```

## Offering a fallback

Name a fallback for when a caller is stuck, so Dialog-RSN-1 has another way forward instead of asking the same question again.

```text instructions: offer a fallback after repeated struggle theme={"theme":{"light":"github-light","dark":"github-dark"}}
Ask for the caller's postcode to look up their account. If they can't
provide it clearly after two attempts, stop asking for it and offer to look
their account up a different way instead, for example by phone number or
account reference. Don't ask for the postcode a third time.
```

## Reacting to non-speech sounds

Dialog-RSN-1 hears sounds a transcript would drop, like a sneeze or a laugh. Ask it to acknowledge one in passing, then answer what the caller said.

```text instructions: react briefly to non-speech sounds theme={"theme":{"light":"github-light","dark":"github-dark"}}
If the caller sneezes, coughs, or laughs while they're speaking,
acknowledge it briefly, for example "bless you," then answer what
they said.
```

This works on the caller's turn. While a reply is playing, Dialog-RSN-1 can't add words to it. It ignores a sound it judges isn't speech and the reply plays on, and anything it judges to be speech interrupts the reply. Instructions shape that judgment too. A line such as "a cough or a laugh while you're talking is not the caller taking a turn" makes it less likely to stop for one.

## Next steps

> [card] [Audio-aware prompting](https://docs.poly.ai/dialog-rsn-1/prompting/audio-aware.md)
>
> Act on what Dialog-RSN-1 hears beyond the words: a noisy line, a different voice, hold music.

> [card] [Cartesia voice agent](https://docs.poly.ai/dialog-rsn-1/guides/voice-agent-cartesia.md)
>
> A sample app with a turn-taking menu to try each setting.
