Skip to main content

Tips

Handling Internal Game Information

In addition to the information presented to the user, the AI maintains a summary of the scene and internal story information (Notes).

  • For example, it maintains itemized Notes such as char:Taro for characters or flag:in_room for flags.
  • To save tokens, older parts of the main text are eventually no longer referenced; however, the summary of the text and the Notes are sent to the AI with every scene generation from the beginning to the most recent.
  • Since the management of summaries and Notes is left to the AI, an AI that neglects this management may forget parts of the story from a short while ago.
    • For example, if the text stating that a mission was completed disappears from the reference range, the AI may be swayed by a theme sentence stating "the mission must be carried out," resulting in the mission being repeated.
  • You can check what summaries and Notes the AI is writing using the Debug Tools.
    • Instructions are provided to monitor the AI and ensure it doesn't slack off, but if it fails to comply, the performance of that model may not be sufficient for the complexity of the instructions; in such cases, please try changing the model you are using.

Debug Commands

Including instructions like the following in your theme sentence can be helpful for managing the game state.

## Debug Commands

- If the player gives an instruction using words like "debug" or "debug mode," change the settings accordingly.
- Perform tasks such as disclosing data, transitioning story states, or changing settings. It is acceptable if these changes result in contradictions within the settings.

Refusals and Fumbles

The AI attempts to fulfill the user's requests as much as possible. To prevent the settings from being destroyed by the player's free-text input, it is recommended to set the theme sentence in advance so that settings take priority, and instructions that do not align with them result in a refusal or a "fumble." However, in such cases, you must carefully define the scope so as not to hinder the player's creative ideas.