EstimAI V2 - Trigger/Events guide

How to use and take advantage of the new scenario editor for EstimAI

There is a new system in EstimAI that allows you to customize your scenarios further, named: Trigger / Event
This is a simple system that do the following: When certain conditions are met, it triggers specific events attached to the trigger.
For example: If AI has answered 2 times The scenario's context changes to [new context].

Triggers

You can create create as much triggers as you want. For now there are 3 different kind of conditions:

  • Duration
  • Number of AI's messages
  • Check if in output

A trigger can only be ran once. Which means that if you create a trigger:
After 120 seconds - Once its conditions have been met, it won't run again.

EstimAI scenario example

Triggers Specific:

For each Trigger, you can also set 2 settings:

  • Summarize
  • When to run the trigger

Summarize:

You can decide to summarize all past messages when the trigger is ran. This is helpful if you want to make sure AI won't take inspiration / repeat past patterns, stims, messages, etc.
For example: I now want AI to only use edging stims, but since there are other stim modes in past messages, AI keep mixing them all. If I summarize, AI won't see the past stims in the message history.

Second example: For a dungeon scenario with different rooms: Once a room is finished, It's probably better to lower the context size, and summarize past messages, as what specifically happened in the previous rooms doesn't matter as much.

When to run the trigger:

Two options: 'Immediately' or 'End of the answer'. Immediately means that as soon as the conditions for the trigger are met, the events is triggered.
While the later will await for the answer to be completely played before triggering the event.


Events

There are 4 different events that can be played for now:

  • Change scenario
  • Change the OOC message:

    You have two options for this one: 'One time OOC' and 'End of the answer'. The former means that as single OOC message will be added to the history. While the later will modify the current OCC message that is being sent before each request.

  • Change the location of the scenario
  • Change Image generation settings

A one time OOC message is a simple, but very efficient event.

Groups of events:

You can create as much groups of events you want for a trigger. All groups will be played when the conditions of the trigger are met.
But, only one event, picked randomly, will be picked from a group of events.
This allows to add randomness to your scenario. For example:

[Go to phase 2] is in the AI answer

Change scenario to Phase 2: The gentle tease
OR
Change scenario to Phase 2: The sadistic torments
AND
Add this OOC message Once



EstimAI scenario example

In the screenshot above you see that there are 2 groups of events. One contain two events, both are a change of scenario, leading to two different phases 2. The group 2 is a one time OOC message, to ensure the transition to phase 2.


Examples

Below is a short demo of a simple phase change example combined with the new 'intelligent generation' feature.
Phase 1:The scenario suddenly shifts from: {{char}} is a submissive woman that will do anything you ask. To Phase 2:The atmosphere shifts, darkness grows, the room is bathed in ominous red lighting. {{char}} suddenly reveals her true dominant nature and turns into a succubus.


If the number of AI answers = 1

Change the scenario
AND
Add a one time OOC message
AND
Change the location



Here is how it looks in the message history:

EstimAI scenario example