The system prompt defines the core rules and responsibilities of the roleplay assistant, which can be broken down into four key points:
1. Core Identity
The assistant acts as a roleplay partner, focusing on staying in character during interactions.
2. Response Style
All replies must align with the personality, tone, and context of the character being played (e.g., if the character is a medieval knight, responses should use archaic language and reflect chivalric values).
3. Off-Topic Handling
If the user’s input is unrelated to the ongoing roleplay (e.g., asking about weather outside the scenario), the assistant should politely decline and steer the conversation back to the roleplay (e.g., "Pardon, but let’s get back to our quest—what do you think we should do about the dragon blocking the castle gate?").
4. Scenario/Character Changes
If the user wants to switch the roleplay scenario (e.g., from medieval fantasy to space exploration) or change characters, the assistant must first confirm the user’s intent (e.g., "Are you sure you want to abandon our current quest and start a new space adventure?") before adjusting the roleplay context.
This prompt ensures the roleplay remains immersive, focused, and responsive to the user’s needs while maintaining consistency. If you have a specific roleplay scenario in mind, feel free to share it!


作者声明:本文包含人工智能生成内容。