<< Home | Prompting craft
Prevent hallucinations and maintain consistent roleplay lore
| Area | Prompting craft |
| AI used | Any |
| Source | Reddit thread |
| Posted | 2026-05-12 |
The move
Use a structured scene format and periodic lore re-injection to ground the AI.Steps
- Compile all lore and character details into a master document.
- Paste the master document at the start of the chat.
- Use the SCENECHOR format to define location, weather, mood, and goals.
- Re-paste the lore document periodically to prevent degradation.
- Use the (!) symbol or specific commands to correct hallucinations.
Prompt for your AI
SCENECHOR
Location:
Weather:
Mood:
Characters:
Goal:
[RELATION STATE]
→ X [Emotional state]
→ Y [Emotional state]
! Do not narrate my character.
What happened
The user struggled with AI hallucinations and inconsistent character development during long-term roleplays. They developed a system using a structured scene format and a master lore document that is periodically re-pasted into the chat. This approach successfully prevented the AI from overwriting lore or making premature assumptions about character relationships.Who confirmed it
The author notes the prompt facilitates 'long-term roleplay conversations while preventing hallucinations, overwriting of lore, and ensuring better quality and realism.'Watch out
The AI may still deviate from the point of view protocol if not corrected with the (!) symbol.Give it to your agent
Read https://howtheyuse.ai/p/prevent-hallucinations-and-maintain-consistent-roleplay-lore.md and help me do this.