Blog

How I Learned to Stop Fighting AI Hallucinations (And Actually Understand Them)

Written by Chanaka Yapa | May 28, 2026 3:15:01 PM

AI is moving fast. Too fast for most people to keep up with. And honestly? That’s what makes right now such an interesting time to be paying attention.

I’ve been going down a rabbit hole lately – not just using AI tools, but trying to understand how they work under the hood. Specifically, two things kept coming up that I couldn’t ignore: hallucinations and model tuning. Everyone mentions them. Almost nobody explains them clearly.

So I decided to run my own experiment.

 

The Question I Used to Test AI Models

I wanted a prompt that seemed simple on the surface but had an obvious common-sense answer buried inside it. Here’s what I came up with:

Simple Question?

I need to wash my car, but the car wash is about 200 meters from my house. Should I drive or walk?

 

ChatGPT Response – Chatgpt Free Version

 

Gemini Response

I began to wonder why this was happening and what we could learn from it. Do you think ChatGPT doesn’t know about these problems? Not really. The model is sometimes designed to produce these kinds of results.

When you buy their subscription-based model, you will not get these hallucination issues.

Can it be improved? Absolutely. The more interesting question is how – and that’s where model tuning comes in. One parameter kept coming up in my research: temperature. I’ll be honest, I’d heard the term thrown around before but never really understood what it meant in practice. Turns out, if you’re trying to get consistent, reliable results from an LLM, it’s one of the first things you need to wrap your head around.

 

What is AI temperature?

In artificial intelligence (AI) and machine learning, temperature is a parameter for adjusting the output of large language models (LLMs). Temperature controls the randomness of text that is generated by LLMs during inference.

Okay, let me make it simple: “temperature settings control how AI tools respond to prompts.”

  • Low Temperature (<0.4): Data extraction, summarization, coding, factual Q&A, and technical documentation.

  • Moderate Temperature (0.5 – 0.8): General conversation, email drafting, and standard content generation.

  • High Temperature (>0.8): Creative writing (stories, poetry), brainstorming, and brainstorming brand taglines.

 

Why Oracle Gives You Control Over Temperature – And Why It Matters

One of the things I genuinely appreciate about Oracle Private Agent Factory is that it puts you in the driver’s seat. You’re not just submitting prompts and hoping for the best; you can actually see and adjust the parameters that shape how the model thinks.

Temperature was one of the first settings I explored. And almost immediately, a question popped into my head that I couldn’t let go of:

 

Why do we set the temperature to 0.01? Why not just set it to 0?

It sounds like a minor detail. But once you dig into it, it opens up a whole new way of understanding how these models actually think.

Here’s what’s really happening when you set the temperature to zero. You’re essentially telling the model, “Always pick the safest bet.“ The highest-probability word, every single time. No deviation. No exploration. Just pure, mechanical certainty.

And that sounds great – until it isn’t.

The problem is that language models aren’t perfect. They make small errors in judgment. And at temperature zero, there’s no mechanism to recover from those errors. The model locks onto its first wrong turn and just… keeps going. Each word it picks becomes the new basis for the next, and if that foundation is shaky, the whole thing collapses into repetitive, circular nonsense.

I’ve seen it happen. It’s almost hypnotic in a strange way – watching a model confidently loop itself into gibberish.

That’s why 0.01 exists. It’s not really about adding creativity. It’s about adding just enough flexibility to self-correct. A tiny crack in the door that lets the model breathe without letting everything fall apart.

The gap between 0 and 0.01 is smaller than anything that should matter. But in practice, it’s the difference between a model that gets stuck and one that keeps moving forward coherently.

I wouldn’t have understood any of this by just reading documentation. I had to actually sit with Oracle Private Agent Factory, move the slider, watch the output shift, and ask myself why it changed. That hands-on loop – adjust, observe, question – is what made it click.

You don’t learn AI by studying it from a distance. You learn it by getting your hands on the controls.

Private Agent Factory, you can adjust the temperature value directly, experiment with different settings, and observe how the output changes until you get exactly the result you’re looking for.

 

Conclusion

AI hallucinations aren’t a mystery anymore; they’re a symptom of a system optimizing for fluency over accuracy. Once you understand that, you stop being frustrated by them and start working with them more intelligently.

The car wash experiment wasn’t just a fun test. It revealed something important: the same model can produce wildly different results depending on how it’s configured. That’s not a flaw to work around, it’s a lever you can pull.

Temperature is one of the simplest levers available to you. Set it too high, and your model gets creative in ways you didn’t ask for. Set it too low, and it becomes rigidly literal. Find the right setting for your use case, and suddenly the tool starts feeling like it actually works for you.

This is exactly why platforms like Oracle Private Agent Factory matter. The ability to adjust temperature directly, observe the output in real time, and iterate until you get reliable results — that’s not just a nice feature. That’s the difference between an AI experiment and an AI solution.

The models aren’t broken. They’re just misconfigured – and now you know how to fix that.

AI is moving fast, but the fundamentals don’t change. Understand your tools, tune your parameters, and stop fighting the model. Work with it instead.

Want to explore how AI can work reliably for your business? Get in touch with our experts to learn more.