How do I stop AI from 1) narrating intro by detailing surrounding scenery in the beginning of every pages of the generated text before continuing from the previous event. 2) briefly narrate the repetitive process of the event by saying "another, and then another, and then another." and "until X number of Y is finished." so that it can narrate each processes of making action in detail and just as frequent as the max token is allowed for one page. Like add prompt to **never** generate text in the certain ways.
AI will keep writing style and format consistent, so if the AI has started the narration of the previous message with describing the surrounding scenery then it will likely keep doing that. If you don’t want the AI to keep doing something, you need to edit the AI message to remove that part.
For the repetition problem I’ll add the repetition penalty parameter in the settings next update. For now the only way is to use a better AI model.
Why should you update the game just to solve this finicky issue? I added a more specific instruction to the game rule and the AI seems to narrate the story in a more detailed way. And if I keep improving the game rule or add the prompt correctly, I can make AI generate the story the way I like, right? I just don't want AI to finish the event right away and keep follow though with what I want it to narrate.
It is a solution to just adjust the rules to narrow it down to what you want from the AI, but it's different for everyone. Besides, some AI models might only take the exact example that you gave, assuming that you gave any. For example, you set it so that the AI can't use "and another, and another, and another...". In this case, the AI will still use "and again, and again, and again...". I've also had that issue with one AI model long ago. No matter what I set in the rules, it kept doing its' own thing.
Wrangling the AI to do reliable first-responses in the intro is difficult. For all my worlds' shared system prompt I use "keeping environment descriptions to a bare minimum", but the AI will still just do full environment description if you don't give it something to show the player instead. However even in my worlds which provide characters and starting event, it's probably only 80% of the time that the character interaction happens immediately in the intro (though in the remaining 20% of the time, if I just "look around" as an action, it nearly always leads to that early event.
Varies between models, even within models (with the model I've been using most (meta-llama/llama-3.3-70b-instruct:free) sometimes the responses will get into a groove that's very different from the story I want)