AI Content Systems

How to Reduce LLM Hallucinations and Keep Writing Human

Sharing our learnings from generating thousands of articles and posts with LLMs.

Sean O'Neill · · 5 min read

We build software that produces content. This is by far the number one most frequent question we get asked - and as you'd expect, we work on this every day.

There are a few layers to avoiding hallucinations, and here's a range of techniques that work for us, organised by difficulty.

Copy <> Hallucinations

Firstly you need to understand that almost everything you do to prevent hallucinations will also help your copy sound more human.

This is because the LLM will be reacting to clearer prompts, consuming less noise (which affects how your brand voice comes through), and doing less meta-textual commentary "wait, no that can't be right, I thought it was...let me check..".

Let me take you through some from easiest to hardest:

Easy

Medium

Note: the less extraneous text you provide, the more likely the LLM is to obey your voice guidelines. Even though this sounds purely like a hallucination safeguard, it will improve your copy.

Hard

If you're writing software, here are some more complex techniques we use.

Direct phrase matching is messy, so you shouldn't have more than a handful of words on your list, but this is an easy way to absolutely stop red-line issues. Don't prompt these!

How to make LLMs sound like you:

This is a bigger piece that deserves an article on its own, but if you follow the above steps, you will have much less noise in your prompts which make it much easier for the LLM to follow your specific voice.

It also depends a lot on whether the LLM is writing copy from scratch (easier), or using existing copy, e.g. quotes, to create its own stories (much harder). In those circumstances, the model will often follow the format of the quote rather than your brand voice.

Do not give the LLM your brand guide; these are noisy documents that often contain information that's irrelevant to the task.

Brand guides typically focus on all channels, e.g. this is how we do Meta ads, this is how we do images, this is how we show times/dates, this is how we describe our customers, etc. Take the most visible and frequent tells from the guide (e.g. exclamation marks, unique words) into your prompts, and this will carry you a long way.

Additionally, brand voices tend to be difficult to replicate because the full voice and energy often come from someone who truly embodies the brand (e.g. a founder); this is why brands matter, this is hard to replicate. In these situations, you can often improve performance by distilling writing samples from that person and making them part of the prompt.

Either way, you can often get 80-90% of the results with a fraction of the effort through careful prompting. 80% is well inside the "human-tolerable" quality level.

Let us help you

If you need help setting a company story engine up in your company, shoot me an email. I will embed with your team to set up Fireside to tell compelling stories, about your own work and products, for your audience, and roll up my sleeves to help you deliver.

Want Fireside to pressure-test your AI content workflow?

We help teams ground AI writing in real source material and build the checks around it.

Book a call Read the company story engine definition

Operated by Fireside Systems Pty Ltd, A.C.N. 695827322 · sean@fromfireside.com