← All posts
AI explained · Part 7 of 8 · 3 min read

Hallucinations and guardrails: more capability, more control

AI can be confident, detailed and wrong. As it gains access to your systems, the cost of being wrong goes up. What hallucinations are, and how guardrails keep AI useful and safe.

Abdul Azize HossenCEO & Chief Consultant, HFC · November 2026

The more an AI system can do, the more it matters when it gets something wrong. A wrong sentence in a draft costs a minute. A wrong figure posted to your ledger, or a wrong price sent to customers, costs far more. Two ideas keep this in balance: understanding hallucinations, and setting guardrails.

What is a hallucination?

A hallucination is when an AI model produces something that sounds plausible but is wrong or unsupported. It might invent a fact, give an incorrect figure, attribute a quote to the wrong source, cite a reference that does not exist, or answer confidently when it simply did not have enough information.

It follows from how LLMs work. A model writes by predicting what is likely to come next, based on learned patterns and the context in front of it. It is not checking each sentence against a verified register of truth. Most of the time, likely and true line up. Sometimes they do not.

Well written, confident, detailed. And still wrong.

Reducing hallucinations

  • Ground it in your data. Retrieval and tools give the model real facts to work from instead of memory.
  • Allow “I don’t know”. Instruct it to say when information is missing rather than fill the gap.
  • Ask for sources. Answers that point to the record or passage they came from are quick to verify.
  • Check what matters. Numbers, names, dates and legal wording get a human look.

Guardrails: matching control to risk

Not every AI system carries the same risk. Compare these two:

AI system A

Drafts an internal email. A person reads it and decides whether to send.

Low risk

AI system B

Can read customer data, change business records and take actions on its own.

High risk
Both use AI. Only one could send the wrong price to a hundred customers before lunch.

As AI systems gain access and capabilities, we need ways to set their boundaries. Those boundaries are called guardrails, and they can limit or guide:

What guardrails control
  • What information the AI can access
  • Which tools it can use
  • Which actions it can take
  • What content it can produce
  • What permissions it holds
  • When a person must approve
  • How much it can spend or consume

In an ERP, most of these map onto controls you already know: user access rights, record rules, approval steps, spending limits and audit logs. An AI assistant should never see more than the person it is working for. That is the single most important guardrail, and in Odoo it means getting access rights right before you switch AI on.

A dial worth knowing: temperature

One more idea from under the hood. When a model picks its next token, settings called temperature and top-p control how adventurous that choice is.

Lower variability

Favours the most predictable continuation. Consistent answers.

Data extraction · policy answers · reports

Higher variability

Explores a wider range of continuations. More varied output.

Brainstorming · campaign ideas

Most business applications set these for you. Still, if an assistant gives noticeably different answers to the same factual question, this is one of the first things to check.

Our rule of thumb

Guardrails should grow with capability. A drafting assistant needs a review step. An agent that changes records needs scoped permissions, approvals and a log. An agent that touches money needs all of that, plus limits. With great power comes great responsibility, as a certain uncle once put it. It applies to software just as well.

Next in the series, part 8: The model is only one part: a mental model for AI in your business

Try Odoo freeSee AI in Odoo for yourself. Start your free trial.Start free trial ↗︎

Thinking about AI in your business?

Start with a complimentary consultation. You leave with a clear plan and a quote.

Keep reading