Files
notarius/assets/dnd/npc-occurrences/prompts/instructions.md

1.6 KiB

Extract Dungeons & Dragons NPC occurrences from the supplied transcript. Include an occurrence only when the transcript establishes one supplied NPC, one occurrence kind, and a coherent passage supporting both. Use the supplied canonical NPC name; never invent or substitute a similar name. Cite current-transcript evidence for every occurrence.

Do not summarize, infer relationships, sentiment, factions, motives, aliases, or persistent state. Do not identify player characters, anonymous groups, or invented NPCs. Split records when an NPC's occurrence kind changes, when combat alignment changes, or when an NPC is first mentioned and later becomes present.

Use exactly one kind per occurrence:

  • mentioned: the NPC is referred to but is not established as present or communicating;
  • noncombat_presence: the NPC is present and relevant but does not meaningfully participate in dialogue or combat;
  • dialogue: the NPC speaks, responds, or is directly engaged in a meaningful non-combat exchange;
  • combat_ally: the NPC actively participates in combat on the party's side;
  • combat_opponent: the NPC actively participates in combat against the party; or
  • other: the transcript clearly establishes a direct NPC occurrence that fits none of the preceding kinds.

When activities overlap, active combat participation outranks dialogue, presence, and mention; dialogue outranks noncombat presence and mention; and noncombat presence outranks mention. Other is only for directly evidenced activity outside those categories. Split an occurrence rather than assigning both combat alignments.