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

# Prompting overview

> Shape KugelAudio speech through the text you send: supported controls, punctuation as pacing, writing tips, an LLM system prompt pattern and unsupported tags.

KugelAudio generates speech directly from text. There is no voice direction
layer: you shape the output by how you write the input. This section covers
every mechanism available to control pronunciation, pacing, and emphasis.

## Supported controls at a glance

| Control | Syntax | Page |
|---------|--------|------|
| **Pauses** | `<break time="300ms"/>`, `<break strength="medium"/>`, `<break/>` | [Breaks](/prompting/breaks) |
| **Speed** | `speed` request parameter (whole request) or `<prosody rate="slow">…</prosody>` (one span) | [Speed](/prompting/speed) |
| **Spell out characters** | `<spell>text</spell>`, `<spell group="2">…</spell>` | [Spell tags](/prompting/spell) |
| **Custom pronunciation** | Inline IPA (`/ˈkuːɡl̩/`) or pronunciation dictionaries | [Pronunciation & IPA](/prompting/pronunciation) |
| **Pacing & intonation** | Plain punctuation, see below | this page |

`<break>`, `<spell>`, and `<prosody rate>` are the only tags interpreted in
request text. Other SSML is unsupported; see
[Unsupported tags](#unsupported-tags).

## Punctuation as pacing

The model respects natural punctuation cues, no special tags needed:

| Technique | Effect |
|-----------|--------|
| `,` comma | Brief pause between clauses |
| `.` period | Sentence-end pause, falling intonation |
| `…` ellipsis | Longer trailing pause |
| `—` em dash | Abrupt pause / interruption feel |
| `?` question mark | Rising intonation |
| `!` exclamation | Energetic delivery |
| `\n` newline | Paragraph-level pause (similar to period) |

Punctuation is the recommended way to add natural rhythm; reach for
[`<break>` tags](/prompting/breaks) when you need an explicit silence of a
specific length (e.g. before a verification code).

## Writing tips

- **Strip markdown before TTS.** Asterisks, hashes, and bullet characters are
  read literally by the model.
- **No emoji.** They are read out or garbled.
- **Write numbers as digits** when they should be normalized ("You have 3
  messages") and always set `language`. See
  [Text processing](/features/text-processing).
- **Keep sentences short and end them with punctuation**: this also helps
  the streaming chunker start generation earlier
  ([why](/streaming/chunking-and-latency)).
- **`!`, ALL-CAPS, and `?!` are prosody cues**: the model will deliver them
  energetically. Use deliberately.

## LLM system prompt pattern

When an LLM generates text that feeds directly into TTS, add instructions so
it uses the supported controls correctly:

```
You are a voice assistant. Format your responses for text-to-speech output:

- For email addresses and codes, use <spell> tags:
    "Your code is <spell>ABC-123</spell>"
- For a deliberate pause, use a break tag:
    "Your total is <break time="400ms"/> forty-two euros."
- Do NOT use markdown formatting (**, *, #, -, bullet points): it will be read aloud literally.
- Do NOT use emoji.
- Do NOT use SSML tags other than <spell>, <break>, and <prosody rate>: remove unsupported tags before sending text.
- Keep sentences short. End with punctuation.
- Write numbers as digits when they should be normalized: "You have 3 messages."
```

For full voice-agent prompt design (turn-taking, error recovery, tool-call
acknowledgements), see [Voice Agent Prompting](/guides/voice-prompting).

## Unsupported tags

KugelAudio processes `<spell>`, `<break>`, and `<prosody rate>`. Other SSML
tags are unsupported and are not guaranteed to be removed or interpreted.
Remove them before sending text.

| Tag / Attribute | Status | Alternative |
|----------------|--------|-------------|
| `<speak>` wrapper | Unsupported | Omit: plain text is assumed |
| `<prosody rate="...">` | **Supported**: per-span speed | See [Speed](/prompting/speed#per-span-speed-with-prosody-rate) |
| `<prosody pitch="...">` | Rejected (400) | No pitch control available |
| `<prosody volume="...">` | Rejected (400) | No volume control available |
| `<emphasis>` | Unsupported | Rephrase text for natural emphasis |
| `<say-as interpret-as="...">` | Unsupported | Use `<spell>` for characters, [normalization](/features/text-processing) for numbers |
| `<sub alias="...">` | Unsupported | Write the spoken form directly, or use a [dictionary](/features/dictionaries) |
| `<phoneme>` | Unsupported | Write [inline IPA between slashes](/prompting/pronunciation#inline-ipa-in-the-request-text) (`/ˈkuːɡl̩/`) |
| `<audio>`, `<p>`, `<s>`, `<w>`, `<lang>` | Unsupported | Remove before synthesis |

<Warning>
  Unsupported tags have no stable contract and may reach text processing or
  synthesis unchanged. Strip or translate them client-side when migrating
  from a full-SSML provider.
</Warning>

## Next steps

<CardGroup cols={2}>
  <Card title="Breaks" icon="pause" href="/prompting/breaks">
    Explicit pauses with break tags
  </Card>
  <Card title="Speed" icon="gauge" href="/prompting/speed">
    The speed parameter and per-span prosody rate
  </Card>
  <Card title="Spell tags" icon="font" href="/prompting/spell">
    Character-by-character pronunciation
  </Card>
  <Card title="Pronunciation & IPA" icon="language" href="/prompting/pronunciation">
    Fix how specific words are spoken
  </Card>
</CardGroup>
