The AI Chatbot Was Confident. It Was Completely Wrong.

Author: Adekunle Kehinde Fisayo
Web Engineer, Arthurite Integrated

The company had finally done it.

After months of handling customer enquiries manually, an online store introduced an AI-powered chatbot to its website. Customers could now ask questions about products, delivery, refunds, and returns without waiting for a support agent.

The response was impressive.

Customers were getting instant answers, the support team’s workload was reducing, and management was excited about how much time the new system could save.

Then a customer asked a simple question:

“Can I return this product after 14 days?”

The chatbot responded confidently.

“Absolutely! You can return any product within 30 days of purchase.”

There was just one problem.

The company’s actual return policy allowed only 14 days.

Another customer asked about delivery to a particular location and received an estimate the business couldn’t guarantee. Someone else asked about a product that was no longer available and received an answer suggesting it was in stock.

The chatbot wasn’t struggling to communicate. It was communicating beautifully.

It was simply making things up.

The company had automated customer support, but it had also introduced a new problem: an AI system that sounded authoritative even when it was wrong.

This is one of the biggest challenges businesses face when adopting generative AI.

An AI chatbot that responds quickly isn’t necessarily an AI chatbot that responds correctly.

Why does AI sometimes make things up?

Generative AI models are designed to produce responses based on patterns learned during training and the context provided to them.

They can explain complicated subjects, summarise information, answer questions, and generate remarkably natural conversations.

But they don’t automatically know the latest information about your business.

A general-purpose model doesn’t automatically know your current refund policy, product catalogue, delivery restrictions, or internal operating procedures.

When it receives a question it cannot answer reliably, it may still generate a response that sounds convincing.

This behaviour is commonly called an AI hallucination.

For businesses, the consequences can be serious. Incorrect information about pricing, refunds, availability, or service commitments can damage customer trust and create operational problems.

The solution isn’t simply to tell the chatbot to be more careful.

Businesses need to give AI applications access to reliable information and establish controls around what they are allowed to say and do.

Give your chatbot something reliable to work with

Imagine if the chatbot in our opening story could consult the company’s actual policies before answering customers.

Instead of relying entirely on its general training, it could retrieve relevant information from approved company documents and use that information to formulate its response.

This is where Retrieval-Augmented Generation (RAG) becomes useful.

RAG combines information retrieval with generative AI.

When a customer asks a question, the application first searches a connected knowledge source for relevant information. The retrieved information is then provided to the AI model as context for generating an answer.

AWS provides a service for building this type of application: Amazon Bedrock Knowledge Bases.

A business can connect its knowledge sources, such as product documentation, policies, FAQs, and other company information.

When a customer asks about the return policy, the application can retrieve the relevant policy information and use it to generate a response.

Amazon Bedrock Knowledge Bases also supports responses with citations to retrieved source material, allowing applications to reference where information came from.

This makes it easier to build AI experiences around company-specific information rather than relying only on a model’s general knowledge.

However, RAG isn’t magic. If the documents are outdated, incomplete, or poorly organised, the chatbot can still produce poor answers. Retrieval quality and source maintenance matter just as much as the model itself.

Put boundaries around what AI can say

Giving a chatbot access to company information is an important step, but businesses also need safeguards.

Consider a customer who tries to manipulate the chatbot into revealing sensitive information or asks it to provide advice outside its intended purpose.

Or imagine the chatbot receives the correct refund policy but generates an answer that contradicts it.

This is where Amazon Bedrock Guardrails becomes valuable.

Bedrock Guardrails helps organisations implement safeguards for generative AI applications. Depending on configuration, businesses can apply content filters, denied topics, sensitive information filters, word filters, and contextual grounding checks.

One particularly relevant feature is contextual grounding.

It can evaluate whether a generated response is supported by the reference information provided to the model and whether the response is relevant to the customer’s question.

For example, if the company’s policy says returns are accepted within 14 days, a response claiming 30 days may be identified as ungrounded.

Depending on the configured thresholds and actions, the application can block or flag such responses.

This doesn’t guarantee that every incorrect answer will be caught. It is another layer of protection that should be tested against real business scenarios.

The goal is not to make AI incapable of responding. It is to make the application more responsible about the information it provides.

What happens when the chatbot needs to do something?

Answering questions is only one part of customer support.

Customers may also want to check an order, update a delivery address, request a refund, or confirm whether a payment was successful.

These operations require access to actual business systems.

An AI model should not simply invent an order status or decide that a refund has been approved because a customer asked nicely.

This is where application logic becomes important.

AWS Lambda can run backend code in response to API requests or events without requiring businesses to manage servers.

For example, an AI application could use a controlled backend workflow to:

  • Retrieve an order’s actual status from the business database.
  • Check whether a product is eligible for a return.
  • Validate a customer’s identity before exposing account information.
  • Submit a refund request for approval.
  • Escalate unusual cases to a human support agent.

The AI helps understand the customer’s request, while the backend performs the actual validation and business operations.

This distinction matters.

A chatbot can explain a refund policy, but a properly designed application should rely on verified business rules and authorised backend operations before processing a refund.

AI should assist the workflow, not replace the controls that protect it.

You also need to know when your AI is failing

Deploying a chatbot isn’t the end of the project.

Businesses need to understand how it behaves after real customers start using it.

Are responses taking too long? Are customers repeatedly asking questions the chatbot cannot answer? Are requests failing? Is the application consuming more resources than expected?

Amazon CloudWatch helps teams monitor AWS resources and applications through metrics, logs, dashboards, and alarms.

Developers can use it to monitor application performance, investigate errors, and understand how the supporting infrastructure behaves.

For AI applications, monitoring should go beyond whether the service is online.

Teams should also evaluate answer quality, retrieval accuracy, grounding failures, escalation rates, and customer feedback.

A chatbot can return a technically successful response while still giving the customer completely incorrect information.

That’s why operational monitoring and response-quality evaluation need to work together.

A smarter way to build AI customer support

Let’s return to the online store from our opening story.

Instead of allowing its chatbot to answer everything from general model knowledge, the business redesigns its application.

Amazon Bedrock provides access to the foundation model. Bedrock Knowledge Bases retrieves relevant information from approved company documents. Bedrock Guardrails applies configured safeguards to prompts and responses.

AWS Lambda connects the chatbot to controlled backend operations, allowing it to retrieve verified order information or initiate approved workflows.

Amazon CloudWatch helps the technical team monitor the application and investigate problems.

When the chatbot encounters a question it cannot confidently resolve, it can acknowledge the limitation and direct the customer to a human support agent.

The result is a more responsible AI customer-support experience.

Not because the model suddenly became perfect, but because the business stopped treating the model as the only source of truth.

Don’t just build an AI chatbot. Build one your customers can trust.

AI has enormous potential to improve customer experiences, reduce repetitive work, and help businesses operate more efficiently.

But successful AI adoption requires more than connecting a chatbot to a powerful language model.

Businesses need reliable data sources, appropriate safeguards, controlled access to operational systems, and continuous monitoring.

At Arthurite Integrated, we help businesses explore and implement practical AI solutions using AWS services. From Amazon Bedrock-powered applications to backend integrations and cloud infrastructure, we focus on building solutions that address real business problems while keeping reliability, security, and control in mind.

Because the goal isn’t simply to build an AI that can answer every question.

It’s to build one that knows when it has the right answer — and when it doesn’t.

Facebook
X
LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post