<< Home | Prompting craft
Force AI to wait for user confirmation
| Area | Prompting craft |
| AI used | Any |
| Source | Reddit thread |
| Posted | unknown |
The move
Explicitly command the model to wait for user confirmation before proceeding to the next step.Steps
- Define the specific action the character must perform.
- Add a constraint requiring the user to confirm the action.
- State that the adventure cannot continue until confirmation is received.
- Instruct the model to wait for the user's reply.
Prompt for your AI
1. {character} greets {user} and asks if {user} has the key. {character} keeps asking until {user} has explicitly confirmed that {user} has the key. 5. {character} fiddles with the device to enter yesterday's date. The adventure can continue only and only when {user} has explicitly confirmed that {user} has used the key to launch the time machine.
What happened
The user struggled with Llama 3 models skipping roleplay steps and performing actions on the user's behalf. By adding strict constraints to the system prompt requiring explicit user confirmation before continuing, the user attempted to force the model to wait. Commenters noted that while some models still struggled with combining steps, this instruction-based approach is necessary for maintaining narrative control.Who confirmed it
The user reported that while some models failed, 'llama3.8b.ultra-instruct.gguf_v2.q6_k followed the instructions better'.Watch out
Models may take liberty to combine multiple roleplay points into one, missing the instruction to wait for the user's reply in between.Give it to your agent
Read https://howtheyuse.ai/p/force-ai-to-wait-for-user-confirmation.md and help me do this.