{"tab":"ai","section":"generateNpcChatSummary","title":"NPC Chat Summary","summary":"Controls the short summary spliced into the story when an NPC chat ends. Override the default guidance or add your own in custom.","kind":"schema","uiLocation":"Files → AI → NPC Chat Summary","uiSubtitle":"\"NPC Chat Summary Instructions\"","editor":"Edit in Studio + View JSON","related":[{"section":"generateDialogue","note":"the chat the summary condenses"}],"wikiUrl":"/ai/generateNpcChatSummary","schema":{"_type":"record","domain":"string","codomain":"string"},"sizeLimits":[],"blocks":[{"type":"example","lang":"json","code":"{\n  \"aiInstructions\": {\n    \"generateNpcChatSummary\": {\n      \"Summary Guidance\": \"Write 2-3 concise sentences in third person past tense, as if narrating what happened in a story. Focus on key information exchanged and any notable moments.\",\n      \"custom\": \"\"\n    }\n  }\n}"},{"type":"prose","md":"## Fields\n\n### Summary Guidance\n\nThe default guidance ships with every world: two to three concise sentences in third person past tense, written as if narrating what happened in a story, focused on the key information exchanged and any notable moments. Edit the entry to replace that guidance.\n\n### custom\n\nOnly this task's named section and `custom` persist when the world is saved; other keys are dropped.\n\nFree-form additions layered on top of the default guidance, for what a summary in your world must always capture or leave out."},{"type":"prose","md":"## Authoring pattern\n\nName the details a summary must preserve for your world to stay consistent, such as promises made, names learned or items handed over, and anything that should never be carried forward."}],"body":"## Example\n\n```json\n{\n  \"aiInstructions\": {\n    \"generateNpcChatSummary\": {\n      \"Summary Guidance\": \"Write 2-3 concise sentences in third person past tense, as if narrating what happened in a story. Focus on key information exchanged and any notable moments.\",\n      \"custom\": \"\"\n    }\n  }\n}\n```\n\n## Fields\n\n### Summary Guidance\n\nThe default guidance ships with every world: two to three concise sentences in third person past tense, written as if narrating what happened in a story, focused on the key information exchanged and any notable moments. Edit the entry to replace that guidance.\n\n### custom\n\nOnly this task's named section and `custom` persist when the world is saved; other keys are dropped.\n\nFree-form additions layered on top of the default guidance, for what a summary in your world must always capture or leave out.\n\n## Authoring pattern\n\nName the details a summary must preserve for your world to stay consistent, such as promises made, names learned or items handed over, and anything that should never be carried forward."}