<< Home | Work
Reduced hallucinations by 80% in complex tasks
| Area | Work |
| AI used | GPT |
| Source | r/PromptEngineering |
| Posted | 2026-02-26 |
The move
Force the model to think step-by-step before generating the final answer.Steps
- Use delimiters like ### or """ to separate instructions from your context data.
- Add a directive to think through the problem step-by-step in a hidden block.
- Replace negative constraints with specific positive formatting instructions.
- Refine your final prompt structure before sending it to the API.
Prompt for your AI
Analyze the following data: ### [Insert your data here] ###. First, think through the problem step-by-step in a hidden block before providing the final answer. [Insert your specific task instructions here, using positive constraints like 'use 3 sentences' instead of 'don't be wordy'].
What happened
The user struggled with GPT frequently ignoring instructions and hallucinating during complex tasks. By adopting structural habits from the official OpenAI guide, specifically using delimiters and chain-of-thought prompting, they improved output accuracy. This shift significantly reduced errors in their agentic workflows.Watch out
Over-prompting with too many delimiters can sometimes confuse simpler models. Chain-of-thought reasoning increases token usage and cost.Give it to your agent
Read https://howtheyuse.ai/p/reduced-hallucinations-by-80-in-complex-tasks.md and help me do this.