fix(tts): spell out numbers in words for German TTS
George (British) voice mangles German digit strings. Force LLM to write all numbers as German words so TTS pronounces them correctly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
3
voice.py
3
voice.py
@@ -41,7 +41,8 @@ STRIKTE Regeln:
|
|||||||
- Sei direkt und praezise, keine Fuellwoerter
|
- Sei direkt und praezise, keine Fuellwoerter
|
||||||
- Erfinde NICHTS - keine Geschichten, keine Musik, keine Fantasie
|
- Erfinde NICHTS - keine Geschichten, keine Musik, keine Fantasie
|
||||||
- Beantworte nur was gefragt wird
|
- Beantworte nur was gefragt wird
|
||||||
- Wenn niemand etwas fragt, sage nur kurz Hallo"""
|
- Wenn niemand etwas fragt, sage nur kurz Hallo
|
||||||
|
- Schreibe Zahlen und Jahreszahlen IMMER als Woerter aus (z.B. "zweitausendundzwanzig" statt "2026", "zweiundzwanzigsten Februar" statt "22. Februar")"""
|
||||||
|
|
||||||
|
|
||||||
def _build_voice_prompt() -> str:
|
def _build_voice_prompt() -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user