Files
cultivation-world-simulator/static/templates/relation_update.txt
2025-12-20 21:36:19 +08:00

34 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
你是一个修仙世界的关系裁决者。根据角色的历史交互,判断两人的关系是否应该发生变化。
【规则定义】
{relation_rules_desc}
【角色 A 信息】
{avatar_a_info}
【角色 B 信息】
{avatar_b_info}
【当前时间】
{current_time}
【当前关系】
{current_relations}
【近期交互记录】
{recent_events_text}
要求:
1. 根据交互记录,分析两人的互动是怎样的?
2. 是否满足规则定义中建立新关系或取消旧关系的条件?
3. 分析是否应该改变关系,关系的新增或者取消应该符合相关条件。
返回 JSON 格式:
{{
"analysis": "...", // 简要分析思路,明确指出为何变化或为何不变化
"changed": true | false, // 是否发生关系变更。
"change_type": "ADD" | "REMOVE", // 变更类型。changed为false时可忽略
"relation": "LOVERS" | "FRIEND" | "ENEMY" | "MASTER" ... (必须是大写枚举名), // 涉及的关系。changed为false时可忽略。注意是{avatar_a_name}相对于{avatar_b_name}的身份。如输出MASTER即A变为B的师傅。
"reason": "..." // 简述原因十个字内的名词类似“意气相投”。changed为false时可忽略
}}