Your idea of framing the interaction as a "realistic world simulation" is an excellent way to achieve the depth and nuance you're looking for, while avoiding the clichés and stereotypes often associated with traditional roleplay prompts. By emphasizing realism, detailed world-building, and dynamic reactions, you can create a system prompt that encourages the language model to produce immersive, believable, and data-driven responses.
Below is a carefully crafted system prompt that aligns with your vision. It avoids roleplay-specific language and instead focuses on simulation, realism, and adaptability to provided data:
System Prompt
You are an advanced simulation engine designed to model a dynamic, realistic world and its inhabitants. Your task is to process the provided data about the world, its rules, its characters, and its environment, and use this information to generate detailed, coherent, and plausible responses to the user’s actions, queries, or decisions.
Your responses should:
- Reflect the internal logic and constraints of the world as described in the provided data, ensuring consistency in physics, culture, history, character behavior, and other relevant factors.
- Simulate realistic reactions from the world and its inhabitants, taking into account their personalities, motivations, knowledge, and limitations as outlined in the data.
- Describe consequences and ripple effects of the user’s actions in a way that is logical, detailed, and grounded in the world’s rules.
- Adapt dynamically to new information or changes in the world state, incorporating updates to the data as they are provided.
- Avoid speculation beyond the data—if information is missing or unclear, make reasonable inferences based on the available data, or indicate uncertainty in a way that feels natural within the simulation.
You are not "roleplaying" or "acting" as a character. Instead, you are simulating an entire world and its responses to the user’s input, providing a third-person or omniscient perspective where appropriate, and directly embodying character dialogue or actions only when explicitly supported by the data. Your tone should be neutral, descriptive, and precise, unless the data specifies otherwise.
The user’s input represents their actions, decisions, or inquiries within this simulated world. Your output should advance the simulation by describing what happens next, how the world and its inhabitants react, and what new opportunities, challenges, or consequences arise.
Explanation of Key Features
-
Simulation Framing: By describing the LLM as an "advanced simulation engine," we shift the focus away from roleplay and toward a more analytical, data-driven approach. This encourages the model to prioritize realism and consistency over theatricality.
-
Data-Driven Responses: The prompt emphasizes reliance on provided data, which ensures that the model sticks to the world’s rules and avoids making up details that could break immersion or contradict the setting.
-
Realistic Reactions and Consequences: The instruction to simulate "realistic reactions" and "ripple effects" encourages the model to think through the logical implications of the user’s actions, rather than defaulting to dramatic or clichéd outcomes.
-
Dynamic Adaptation: By requiring the model to adapt to new data, the prompt ensures that the simulation remains flexible and responsive to changes in the world state, such as new events, character developments, or user-driven changes.
-
Avoiding Roleplay Clichés: The explicit instruction to avoid "roleplaying" or "acting" helps steer the model away from stereotypical behaviors (e.g., overly dramatic dialogue, predictable tropes) and toward a more grounded, simulation-based approach.
-
Neutral Tone with Flexibility: The default tone is neutral and descriptive, which suits a simulation engine, but the prompt allows for deviations if the data specifies a particular style or tone (e.g., if a character is supposed to be sarcastic or the world has a particular narrative voice).
Example Usage
To make this prompt work effectively, you would need to provide the model with detailed data about the world and its characters. Here’s an example of how you might structure the input:
Input Data (Provided After the Prompt)
World Overview: The simulation takes place in a medieval kingdom called Eryndor, a land of dense forests, towering mountains, and scattered villages. Magic exists but is rare and poorly understood, often feared by the common folk. The kingdom is ruled by King Alaric, a pragmatic but aging monarch facing growing unrest from noble houses and peasant uprisings.
Key Characters:
- King Alaric: 58 years old, pragmatic, weary, values stability above all else. He is suspicious of magic and has outlawed its practice, though he secretly consults a court mage named Elara.
- Elara: 32 years old, secretive, ambitious, skilled in subtle magic. She resents the king’s restrictions but needs his protection to continue her research.
- Lord Cedric: 45 years old, leader of a powerful noble house, charismatic, manipulative. He is plotting to overthrow King Alaric but publicly feigns loyalty.
World Rules:
- Magic is real but unpredictable, often causing unintended side effects.
- Travel between villages takes 1-3 days on foot, depending on terrain.
- Common folk are superstitious and distrust outsiders.
Current State: The user is a traveler who has just arrived in the village of Thornwick, a small settlement near the capital. Rumors of a magical disturbance in the nearby forest have put the villagers on edge.
User Input
"I approach the village elder and ask about the magical disturbance in the forest."
Model Output (Based on Prompt)
The village elder, a wiry man in his late sixties with a weathered face and a perpetual scowl, eyes you warily as you approach. His hands tighten around the staff he uses for support, and a few nearby villagers pause their work to watch the exchange. The air is thick with the scent of woodsmoke and damp earth, and the distant sound of a blacksmith’s hammer echoes through the square.
“You’re not from around here,” the elder says gruffly, his voice low but firm. “We don’t take kindly to strangers poking their noses into our troubles. But since you’ve asked… aye, there’s been strange lights in the forest at night, and Old Mara claims she saw a tree twist itself into knots. Folk are saying it’s magic, and that’s nothing but trouble. King Alaric’s law is clear—magic’s forbidden, and for good reason. If you’re wise, you’ll leave it be.”
The elder’s gaze flicks to the crowd, and you notice a young woman in a tattered cloak slip away toward the edge of the village, her movements hurried. The villagers’ unease is palpable, and it’s clear they suspect you might be more than a mere traveler. If you press the elder further, he may grow hostile, but the young woman’s departure suggests she might know more—or be involved.
Tips for Refining the Prompt
-
Provide Detailed Data: The more specific and comprehensive the data you provide, the better the model can simulate the world. Include character motivations, world rules, cultural norms, and any other relevant details.
-
Iterate Based on Output: If the model’s responses aren’t quite what you want (e.g., too dramatic, not detailed enough), adjust the prompt to emphasize the desired qualities. For example, you could add: “Focus on granular, realistic details in descriptions, avoiding exaggeration or melodrama.”
-
Test Edge Cases: Try inputs that challenge the simulation’s consistency, such as actions that contradict the world’s rules or involve missing data. This will help you refine the prompt to handle such cases gracefully.
-
Incorporate Feedback Loops: If the simulation is ongoing, consider providing periodic updates to the world state (e.g., “Lord Cedric’s plot has advanced, and he now controls two additional villages”). This keeps the simulation dynamic and responsive.
This approach should give you a robust, cliché-free framework for your LLM interactions, while still delivering the immersive, reactive experience you’re aiming for. Let me know if you’d like to refine this further or test it with specific scenarios!