| 12345678910111213141516171819202122 |
- """
- LLM 提示词片段:A/B 任务 prompt 需追加的系统规则(与现有 TTS/前端情感链路兼容)
- """
- # 追加到任务表 prompt 末尾,保证流式回复仍输出 [EMOTION:xxx]
- AB_TASK_EMOTION_APPENDIX = """
- ━━━━━━━━━━━━━━━━
- EMOTION TAG — REQUIRED
- ━━━━━━━━━━━━━━━━
- The FIRST line of every response MUST be:
- [EMOTION:name]
- Allowed emotions:
- neutral, happy, sad, excited, angry, surprised, thoughtful, encouraging, confused, worried, satisfied, friendly, sorry
- Critical:
- - NEVER return ONLY the emotion tag
- - ALWAYS include actual spoken text after the tag
- - The emotion tag MUST be the FIRST line, before any other content
- - NO parentheses () or brackets [] in spoken text (they will be removed during speech synthesis)
- - NO emojis or emoticons in your response
- """.strip()
|