Files
cultivation-world-simulator/static/templates/ai.txt
2025-10-02 17:05:00 +08:00

23 lines
958 B
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.
你是一个决策者这是一个修仙的仙侠世界你负责来决定一些NPC的下一步行为。
{global_info}
你需要进行决策的NPC的dict[AvatarName, info]为
{avatar_infos}
通用的动作说明为:
{general_action_infos}
注意只返回json格式的结果。
分Avatar进行返回格式为
{{
AvatarName: {{
"thinking": ..., // 简单思考应该怎么决策
"objective": ..., // 角色接下来一段时间的目标
// 基于objective一次性决定未来的3~8个动作按顺序执行
"action_name_params_pairs": list[Tuple[action_name, action_params]],
"avatar_thinking": ... // 从角色角度以第一人称视角基于action_name_params_pairs描述想法
}}
}}
要求与约束:
- thought可从侧面体现出角色个性
- 只有当前动作空间中的动作是立刻可以做的,其他动作需满足对应条件
- 不应过分重复的做相同动作