Cleary says small prompt changes can have outsized effects because language models are nondeterministic. For products that use AI, an unreliable response can damage user trust, especially when people expect fast, accurate results without hallucinations.
Prompt Engineering Tactics
Speaker
Dan Cleary, co-founder of PromptHub, speaks on AI Engineer about three tactics for getting more accurate and safer responses from language models.
Multi-persona prompting assigns different roles to collaborate on a task. For a book, Cleary suggests bringing together a publicist, an author, and the intended audience to brainstorm toward a final answer. He finds this useful for complex or generative tasks.
The “according to” method names a source in the prompt, such as Wikipedia, to encourage the model to draw on it. Cleary says this can reduce hallucinations by up to 20% when the model uses a consistent source, citing research from Johns Hopkins University.
Emotion prompting adds an emotional stimulus to the end of a prompt, drawing on how people may take a task more seriously when the stakes are clear. Cleary says experiments showed improvements ranging from 8% to 115%, depending on the task, and gives cover letters and change logs as examples.
Cleary says PromptHub provides templates for the three methods. Users can copy them, run them in the playground, share them with a team, or access them through links.
Takeaways
- Treat prompts as part of product quality: small changes can affect model output substantially.
- For complex creative tasks, ask distinct roles to collaborate before producing a final answer.
- Name a trusted source in the prompt when the model can reliably draw on it.
- Test emotional context prompts on your own tasks; reported gains vary widely.
- Share prompt templates with teammates so they can test and refine them together.
Mentioned in this talk
Search inside this talk
What was claimed 5
- feature
PromptHub: Prompt management tool designed for teams to test, collaborate, and deploy prompts“a prompt management tool designed for teams to make it easy to test, collaborate, and deploy prompts”
YouTube Unverified1 source· Talk
- featuremulti-persona prompting: Uses task-specific agents to collaborate on a task
“calls on various agents to work on a specific task”
YouTube Unverified1 source· Talk
- metricaccording to method: Can reduce hallucinations by up to 20%
“This can help reduce hallucinations by up to 20%.”
YouTube Unverified1 source· Talk
- metricemotion prompting: Reported output improvement ranges from 8% to 115%, depending on the task
“anywhere from an 8% increase to a 115% increase”
YouTube Unverified1 source· Talk
- feature
PromptHub: Provides prompting templates and a playground for running prompts“available as templates in PromptHub ... run them through our playground”
YouTube Unverified1 source· Talk










