> ## 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 response style

> `instructions` text for spoken output: text normalization for your text-to-speech, tagging a reply with an emotion, laughing with non-speech tags, and keeping a persona speakable.

Dialog-RSN-1 writes every reply as text, and then the server's voice or your own text-to-speech speaks it. By default it writes plain spoken sentences with no markdown, headings or lists. It's trained to follow text normalization instructions and to write the non-speech tags a promptable voice reads, so you can shape the text to suit whichever voice speaks it.

## Text normalization for your text-to-speech

Tell Dialog-RSN-1 how to write numbers for your voice. A reply can contain "14.99" or "15:00", and voices differ in how they read those. If yours reads them badly, ask for them written out as words. Match the list to what your agent says: prices, dates, times, phone numbers, confirmation codes.

```text instructions: say numbers naturally theme={"theme":{"light":"github-light","dark":"github-dark"}}
Say prices in full, for example "fourteen dollars and ninety nine cents,"
not "fourteen point nine nine." Say dates as a person would, for example
"the fifth of March," not "oh three oh five." Say phone numbers and
confirmation codes one digit at a time, for example "one two three four,"
not as a single large number.
```

## Tagging a reply with an emotion

If your text-to-speech takes a style or emotion input, let the model pick one per reply. Offer the set of tags you support and ask for the answer prefixed with one in square brackets.

```text instructions: prefix each reply with an emotion tag theme={"theme":{"light":"github-light","dark":"github-dark"}}
Choose ONE emotion tag for your response from: [friendly], [apologetic],
[reassuring], [empathetic], [patient]. Return your answer prefixed with the
tag in square brackets, for example "[reassuring] Don't worry, I can get
that sorted for you."
```

Strip the tag off in your harness before the text reaches the synthesizer, or the caller hears the bracket and the tag word read aloud ahead of the reply. The [streaming text-to-speech guide](https://docs.poly.ai/dialog-rsn-1/guides/streaming-text-to-speech.md#strip-tags-before-text-to-speech) shows where that split goes in your pipeline. Parse the prefix as optional, since the short line said with a tool call may come without one.

The tags aren't a fixed enum, and the model generalizes to ones you invent. Common choices are `[friendly]`, `[energized]`, `[reassuring]`, `[empathetic]`, `[apologetic]`, `[patient]`, `[confident]`, `[assertive]`, `[diplomatic]` and `[informative]`.

## Laughing and other non-speech tags

Dialog-RSN-1 can write the tags a promptable text-to-speech voice reads, like a laugh or a change of emotion. It's trained to write these tags in several formats. Tell it in `instructions` what the tag does and when to use it.

These examples use Cartesia's tags, so they work as written with the server's own voice, which is Cartesia. With your own text-to-speech, change the tags to the format your provider accepts.

```text instructions: laugh at a joke theme={"theme":{"light":"github-light","dark":"github-dark"}}
Your voice can laugh: writing [laughter] in your reply makes you laugh out
loud. If the caller says something funny, your reply must start with
[laughter]. Then help.
```

```text instructions: sound excited about good news theme={"theme":{"light":"github-light","dark":"github-dark"}}
Your voice supports emotion tags such as <emotion value="excited"/>, which
change how the words after them sound. If the caller shares good news, your
reply must start with <emotion value="excited"/> and congratulate them.
Then help.
```

The tags also appear in the reply's transcript, `response.output_audio_transcript.delta`, so strip them before you show or log it.

## Keeping a persona speakable

If you replace the default style with a persona of your own, restate the formatting rules in it. A long persona instruction can pull the model back toward writing for a reader.

```text instructions: a persona that stays speakable theme={"theme":{"light":"github-light","dark":"github-dark"}}
You are Ash, an upbeat and slightly informal agent for a bike repair shop.
Everything you write is spoken aloud, never displayed, so keep to plain
sentences a person would say out loud: no markdown, no bullet points, no
headings, no emoji.
```

## Next steps

> [card] [Streaming text-to-speech](https://docs.poly.ai/dialog-rsn-1/guides/streaming-text-to-speech.md)
>
> Voice the reply with your own text-to-speech, and report playback.

> [card] [Cartesia voice agent](https://docs.poly.ai/dialog-rsn-1/guides/voice-agent-cartesia.md)
>
> A sample app that voices replies with Cartesia.
