What Do You Do When Your Service Agent Needs Expert Knowledge and Data from Other Systems?

An AI agent that can talk is the easy part. The hard part is an agent that knows the domain and sees the systems. This post explains how to separate expert knowledge, live data and the language model, what the agent does when it doesn't know, and how to check that it answers correctly before a customer hears it.

By

What Do You Do When Your Service Agent Needs Expert Knowledge and Data from Other Systems?

An AI service agent that needs expert knowledge and data from other systems is built from three separate parts: expert knowledge kept in a knowledge base that someone maintains, live data fetched from the systems during the call, and a language model that phrases the answer. The model itself is not supposed to "know" anything from memory.

An AI agent that talks nicely no longer impresses anyone. You can buy one tomorrow morning. The problem starts when the customer asks a real question.

Two questions that break an off-the-shelf agent

The first: "Which of your products fits what I need?" That is an expert knowledge question. The answer lives in the heads of your veteran people, and at best also in a few documents nobody has updated.

The second: "What's happening with my order?" That is a live data question. The answer lives in the order system, and it changes every hour.

An off-the-shelf agent doesn't know the first and can't see the second. And that is still the good part. The bad part is that it will answer anyway, with full confidence. A customer who got a wrong and confident answer won't call to complain about the AI. They will call to complain about you.

Expert knowledge: don't just throw PDFs at it

The instinct is to take all the company's documents, upload them to the system and hope for the best. That works about as well as handing a new employee the key to the archive and saying "it's all in there".

What works is a knowledge base your experts have gone over, with an owner responsible for keeping it up to date. When a customer asks, the system retrieves the relevant piece from the knowledge base and gives it to the model together with the question. The model's job is to phrase, not to invent.

And for cases where a mistake is expensive, you don't rely on free phrasing at all. You write explicit rules. If product A is not suitable for use B, that is a rule, not a recommendation.

Live data: ask the system, not the model

Orders, prices, stock. You don't teach the agent any of these, because what is true now won't be true in an hour. Instead you give it tools: a way to ask the order system for the status, and the pricing system for this customer's price.

"This customer" is not a minor detail. The agent should see only what the customer in front of it is allowed to see. Nobody wants a customer to receive their competitor's price list by mistake.

And what happens when it doesn't know?

This is the most important question to ask, and most people ask it last. Even an agent with organized knowledge and a connection to the systems will meet questions it has no answer to. It needs to say so, and hand the call over to a person with a summary, so the customer doesn't have to tell the whole story again.

I wrote about this separately, including how to check that it really works.

How do you know it answers correctly?

Not by how the demo feels. Collect a list of real questions from your experts, including the annoying ones, together with the correct answers. Run the agent on the whole list before it talks to a single customer, and again after every change. Without a list like that you don't know whether the agent is good. You only know it sounds good.

So where do you start?

With one topic and one system. For example, only questions about order status, against the order system alone. When that works and is measured, you add the next topic.

And there is a bonus people don't always think about. What you built for customers can also serve human agents. In the service center I'm building for a manufacturer, the same engine is used both for calls with customers and for training new service reps.

That's about it. The agent doesn't need to be smarter. It needs to know where the knowledge is, see the right systems, and know when to hand over to a person.

Do you run a service center like this?

If you run a service center where the answers depend on expert knowledge or on data from other systems, I'd be glad to hear about it. Write me a few lines about what customers ask and where the answers live today, and I'll come back with a direction. The contact form is right below.

Questions About This Topic

Because knowledge changes, and retraining is expensive and slow. Retrieving from a knowledge base at question time lets you update the knowledge without touching the model, and see which source an answer relies on.

Expert knowledge changes slowly and is kept in a maintained knowledge base. Live data such as orders, prices and stock changes all the time, so it is fetched from the systems during the call and not stored with the agent.

Someone inside the company who knows the domain. It needs one clear owner who updates it when a product, a price or a procedure changes. A knowledge base nobody maintains goes stale, and the agent keeps answering from it.

With one topic and one system, and a list of questions and answers the experts approved. You expand only after the result has been measured.

Contact

A Quick Message is Enough to Get Started

Share a short overview of what you're looking to achieve and any relevant context. You'll get a reply by email or phone with next steps and whether it looks like a good fit.