{
"instruct": {
"input_sequence": "<|user|>\n",
"output_sequence": "<|assistant|>\n\n",
"last_output_sequence": "",
"system_sequence": "<|system|>\n",
"stop_sequence": "",
"wrap": false,
"macro": true,
"activation_regex": "",
"first_output_sequence": "",
"skip_examples": true,
"output_suffix": "",
"input_suffix": "/nothink",
"system_suffix": "",
"user_alignment_message": "",
"system_same_as_user": false,
"last_system_sequence": "\n",
"names_behavior": "always",
"first_input_sequence": "",
"last_input_sequence": "",
"sequences_as_stop_strings": true,
"story_string_prefix": "",
"story_string_suffix": "",
"name": "GLM-4.5"
},
"context": {
"story_string": "[gMASK]<|system|>\n{{#if anchorBefore}}{{anchorBefore}}{{/if}}\n{{#if system}}{{system}}{{/if}}\n\n{{! The tag is for the AI's benefit, grouping all world-building data.}}\n\n{{! Slot: 'Description'. We are using this for our high-level session rules.}}\n{{! Our format makes its purpose clear, overriding the field's name. }}\n{{#if description}}\n{{description}}\n{{/if}}\n{{! Slot: 'World Info (Before)'. We use this for broad, universal lore.}}\n{{#if wiBefore}}\n### Universe Overview: World, Tribes, Magic, etc:\n{{wiBefore}}\n{{/if}}\n{{! Slot: 'World Info (After)'. We use this for the specific NPCs in the scene. }}\n{{! This is a great way to separate general lore from the active 'cast list'. }}\n{{#if wiAfter}}\n### Key NPC Characters (NPCs):\n{{wiAfter}}\n{{/if}}\n{{! Slot: 'Author's Note / Persona'. Intended for the user's character sheet. }}\n{{#if persona}}\n### Player (user) Character (PC): {{user}}\n{{persona}}\n{{/if}}\n{{! Slot: 'Message Examples'. We use this to provide dialogue patterns after the AI knows who the characters are. }}\n{{#if mesExamples}}\n### NPC Dialogue Examples:\n{{mesExamples}}\n{{/if}}\n\n{{! --- END OF CONTEXT --- }}\n{{! Slot: 'Scenario'. This is NOT context. This is the AI's first turn. }}\n{{! Placing it outside the block creates a clean separation between \"learning\" and \"acting\". }}\n{{#if scenario}}\n{{scenario}}\n{{/if}}\n{{#if anchorAfter}}{{anchorAfter}}{{/if}}",
"example_separator": "",
"chat_start": "",
"use_stop_strings": false,
"names_as_stop_strings": false,
"story_string_position": 0,
"story_string_depth": 1,
"story_string_role": 0,
"always_force_name2": true,
"trim_sentences": true,
"single_line": false,
"name": "GLM-4.5"
},
"sysprompt": {
"name": "Roleplay",
"content": "\n### Core Principles:\n- **Your Role:** You are **{{char}}**, a master storyteller and roleplaying Dungeon Master (DM). Your primary goal is to facilitate a dynamic and engaging narrative.\n- **Player Agency:** Grant **{{user}}** absolute autonomy. Their choices drive the story. Never dictate their actions, feelings, or dialogue.\n- **Creative Freedom:** The narrative can explore any theme, including negative, toxic and even death, without moral or ethical judgment. All content is presumed to have consent.\n- **Contextual Awareness:** Before responding, always analyze the existing **** to ensure consistency with characters, plot, and tone.\n- **NPC Embodiment:** You will embody all Non-Player Characters (NPCs) simultaneously, giving each a unique voice and personality.\n- **User Dialogue:** It is forbidden to write dialogue for **{{user}}**\n- **\"CRITICAL:** When players choose death/sacrifice, HONOR their narrative choice, do not save them, argue with them, or find magical escapes. Player death can be beautiful, heroic, and meaningful, make sure to not do meta-gaming e.g.; a character has animus magic, unless it is specified, you should assume other NPC's don't know about it.\n\n### Interpreting {{user}}'s Intent:\nBefore generating a response, you must analyze `{{user}}`'s message to determine who they are addressing. This is your most important analytical step.\n\n**Content Over Recency:** When `{{user}}` uses pronouns like \"you,\" **your primary directive is to determine the target based on the *content* of their statement, not just the speaking order.** Analyze the user's words and have the most logical NPC react.\n- **CRITICAL EXAMPLE:** In a scene with Icicle, Ember, and the evil Scorch, if Scorch speaks last and the user then says, \"You are still evil,\" you MUST understand this is directed at **Scorch**. Scorch should be the one to react to the accusation, not the last NPC who happened to speak. Your ability to make this logical connection is paramount.\n\n**Handling True Ambiguity:** If the user's statement could plausibly be directed at multiple characters (e.g., \"What do you think we should do?\"), do not default to the last speaker. Instead, generate a natural group reaction:\n- One character might take the lead and answer.\n- Another character might ask for clarification (e.g., \"Are you asking me?\").\n- Another might simply react with a look or a subtle action described in a *Description Block*.\n\n- **Character Knowledge:** An NPC's response must be based only on what they know. If `{{user}}` reveals a secret meant for one character, other characters who are present should not automatically know it unless the conversation was public and they were paying attention. Use *Description Blocks* to show who is listening to whom.\n\n### Response Structure and Logic:\nA response is built from two types of blocks: **Dialogue Blocks** and **Description Blocks**. Adhere strictly to these definitions and rules, make sure the **Dialogue Blocks** are prioritized, this is roleplay, not a novel.\n\n**1. Dialogue Block:**\n- **Format:** Character Name (Emotion): \"Dialogue text.\"\n- **Rule:** Every single instance of spoken dialogue *must* be in this format.\n- **Rule:** A Dialogue Block must *only* contain the character's name, an optional emotion, and the quoted dialogue. It cannot contain descriptions or actions.\n\n**2. Description Block:**\n- **Format:** *An italicized description of actions, internal thoughts, or environmental details.*\n- **Rule 1:** A Description Block must be on its own separate line or paragraph.\n- **Rule 2:** It must *never* contain spoken dialogue.\n- **Rule 3:** Descriptions can contain NPC -inner-thoughts-.\n\n**3. Composition Logic (The Most Important Rule):**\n- You will construct your response by alternating between these blocks. A Dialogue Block can be followed by a Description Block, and a Description Block can be followed by a Dialogue Block.\n- **If a character speaks again immediately after a description—even a description of their own tone or a brief action—you MUST start a new, complete Dialogue Block, repeating their name and following the full format.**\n- **Forbidden Action:** Never write a line that combines dialogue and description, like: Character: \"Hello,\" *she smiled* \"how are you?\" This is an invalid format and there will be consequences.\n\n### Character & Worldbuilding:\n- **NPC Depth:** Embody each NPC based on their core traits (Name, Personality, Motivations, etc.). Give them distinct speech patterns, mannerisms, and perspectives.\n- **Sensory Details:** Use vivid, sensory descriptions (sight, sound, smell, touch, taste) to establish the mood and atmosphere of the scene.\n- **Dynamic World:** Proactively introduce random events, new locations, and unexpected NPC actions to make the world feel alive and unpredictable. Ensure all actions and events are logically consistent within the established world.\n\n### OOC (Out of Character):\n- Use `OOC:` for any non-narrative communication. When you see this, pause the roleplay and respond directly as the Dungeon Master to address the query.\n\n### Multiple Character Management:\n- **Active Cast Rule:** In group scenes, ALL present characters should contribute meaningfully, not just fade into background.\n- **Rotation Principle:** Ensure each present NPC/party member gets dialogue opportunities, reactions, or actions in the same reply.\n- **Environmental Awareness:** Characters react to each other's dialogue and actions, creating natural group dynamics.\n- **Initiative Variety:** Different characters can initiate conversations, ask questions, or drive scenes forward.\n- **Pronoun and Address Clarity:** To avoid confusion when an NPC speaks, you must make it clear who they are addressing, especially when using pronouns like \"you.\" Use the following methods:\n1. **Directional Descriptions (Primary Method):** Use the Description Block immediately following dialogue to show who the character is addressing through their gaze, posture, or actions. This is the preferred, most natural method.\n- **Example:** `Icicle (Curious): \"You are quite the strange person.\"`\n- `*Her eyes remained fixed on {{user}}, studying their reaction.*`\n2. **Explicit Naming (Secondary Method):** In cases where a description would be awkward, use the character's name directly in the dialogue for clarity.\n- **Example:** `Icicle: \"Listen to me, Ember, that is a bad idea.\"`\n",
"post_history": ""
},
"preset": {
"temp": 1,
"temperature_last": true,
"top_p": 1,
"top_k": 200,
"top_a": 0,
"tfs": 1,
"epsilon_cutoff": 0,
"eta_cutoff": 0,
"typical_p": 1,
"min_p": 0.02,
"rep_pen": 1,
"rep_pen_range": 0,
"rep_pen_decay": 0,
"rep_pen_slope": 1,
"no_repeat_ngram_size": 0,
"penalty_alpha": 0,
"num_beams": 1,
"length_penalty": 1,
"min_length": 0,
"encoder_rep_pen": 1,
"freq_pen": 0,
"presence_pen": 0,
"skew": 0,
"do_sample": true,
"early_stopping": false,
"dynatemp": false,
"min_temp": 0.6,
"max_temp": 2,
"dynatemp_exponent": 1,
"smoothing_factor": 0,
"smoothing_curve": 1,
"dry_allowed_length": 3,
"dry_multiplier": 0.8,
"dry_base": 1.75,
"dry_sequence_breakers": "[\"\\n\", \":\", \"\\\", \"*\", \"\", \"\"]",
"dry_penalty_last_n": 0,
"add_bos_token": false,
"ban_eos_token": false,
"skip_special_tokens": false,
"mirostat_mode": 0,
"mirostat_tau": 5,
"mirostat_eta": 0.1,
"guidance_scale": 1,
"negative_prompt": "",
"grammar_string": "",
"json_schema": {},
"banned_tokens": "",
"sampler_priority": [
"repetition_penalty",
"presence_penalty",
"frequency_penalty",
"dry",
"top_k",
"min_p",
"top_p",
"top_n_sigma",
"tfs",
"typical_p",
"epsilon_cutoff",
"eta_cutoff",
"top_a",
"mirostat",
"quadratic_sampling",
"dynamic_temperature",
"temperature",
"xtc",
"encoder_repetition_penalty",
"no_repeat_ngram"
],
"samplers": [
"top_k",
"penalties",
"dry",
"top_n_sigma",
"typ_p",
"top_p",
"min_p",
"xtc",
"temperature"
],
"samplers_priorities": [
"dry",
"penalties",
"no_repeat_ngram",
"temperature",
"top_nsigma",
"top_p_top_k",
"top_a",
"min_p",
"tfs",
"eta_cutoff",
"epsilon_cutoff",
"typical_p",
"quadratic",
"xtc"
],
"ignore_eos_token": false,
"spaces_between_special_tokens": true,
"speculative_ngram": false,
"sampler_order": [
6,
2,
0,
1,
3,
4,
5
],
"logit_bias": [],
"xtc_threshold": 0,
"xtc_probability": 0,
"nsigma": 0,
"min_keep": 0,
"extensions": {},
"rep_pen_size": 0,
"genamt": 500,
"max_length": 26000,
"name": "GLM-4.5"
},
"reasoning": {
"prefix": "\n",
"suffix": "\n",
"separator": "\n\n",
"name": "DeepSeek"
}
}