prompt_constants.py 861 B

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