Next up, we have the "scenario" field. It might seem straightforward, but trust me, it carries significant weight. Consider this as the long-term memory of your chatbot. It's the information your chatbot will hold onto throughout the conversation or roleplay.

In the scenario section, you'll not only define the current situation and the location, but you can also sketch out how the entire role play might unfold. Let's take an example. You're in an abandoned house. Local folklore suggests that a few lingering ghosts haunt these premises, keeping away the locals, as they have for many years. Now, the question is - will you make it through the night?

With just these three sentences, you've set a clear context. You've located yourself in an abandoned house with a bit of backstory, about the potential ghostly inhabitants. And, you've added a hook, a question that pushes the role play in a specific direction.

But here's a bonus tip. You can weave in some more personality traits in this section, like the physical appearance, character behavior, likes, and dislikes. Suppose you want your chatbot to detest the sun. You can embed this trait in the scenario field and give a reason. Something along the lines of, "The ghosts despise the sunlight because it can burn them." With just two sentences, you've successfully added a crucial personality aspect to your chatbot's long-term memory. And that's because it's in the scenario field.

So, keep this in mind. The scenario field is not just about setting the stage, but it can also be an ingenious way to embed crucial personality traits.

Last updated