The Chatbot Demo Works. How Do You Know the Product Is Worth Building?

From Book to Production Week 2: Introduction to Building AI Applications with Foundation Models

Imagine your team spends a weekend building a customer-support chatbot for a bank on top of an off-the-shelf model. It answers a handful of sample questions well, and everyone is excited. The usual next question is “when can we ship it?” The more useful one is how good this system has to be before it helps anyone, and how far it is from that bar right now.

This week I read Chapter 1 of AI Engineering: Building Applications with Foundation Models by Chip Huyen, “Introduction to Building AI Applications with Foundation Models”. It runs from language models and self-supervision all the way to the AI engineering stack. The part that caught my attention most was Planning AI Applications, where Huyen says that building a cool demo with foundation models is easy and building a profitable product is hard.

My read: the gap between those two sentences is where decisions about an AI project go wrong. A good demo is easy to mistake for “almost done”.

What does the book ask before you build anything?

If you just want to learn, Huyen says to jump right in, because building is one of the most effective ways to learn. If you’re doing this professionally, she suggests stepping back first: why are we building this app, and how?

The planning framework is a chain of questions. Three of them map directly onto our bank chatbot:

Alongside these, Huyen introduces what I think is the central concept of this section: the usefulness threshold, meaning how good the product has to be to be useful.

Its purpose is to keep a product from reaching customers before it’s ready. A threshold can have several groups of metrics: the quality of the answers; latency, including TTFT (time to first token), TPOT (time per output token) and total latency; the cost per inference request; and others such as interpretability and fairness. What counts as acceptable latency depends on the use case. If humans currently answer every request with a median response time of one hour, anything faster might be good enough.

Why isn’t a good demo enough for this decision?

For planning milestones, the chapter suggests a concrete first step: evaluate existing models to understand what they can already do. The stronger the off-the-shelf model, the less work you have to do. The book’s example is that if your goal is to automate 60% of support tickets and an off-the-shelf model already automates 30%, you’ll probably need less effort than if it automated none.

Huyen also states one possible outcome plainly: after evaluating, you may find that the resources needed to reach the usefulness threshold exceed the potential return, and you no longer want to pursue the project. I think that sentence matters, because it makes “drop it” a valid result of planning, not a sign of failure.

The next challenge is what the chapter calls the last mile: initial success can be misleading. A demo can take a weekend, while a product can take months or even years. The chapter quotes the UltraChat paper saying that going from 0 to 60 is easy and going from 60 to 100 is exceedingly challenging. LinkedIn also reports that it got to 80% of the experience it wanted in one month. That early success led the team to grossly underestimate the time remaining, and it took four more months to get past 95%, most of it spent on product kinks and hallucinations.

My read of these two reports is that early progress can’t be extended linearly to the threshold. If a demo reaches 80% of the target experience, that doesn’t necessarily mean 80% of the time or cost has been spent.

There’s one more reason, and it’s in the chapter itself: foundation model outputs are open-ended, which makes them harder to evaluate. In a close-ended task like fraud detection there’s usually an expected answer to compare against. For a chatbot, there are so many possible responses that you can’t list all the correct ones. So “it answered a few questions well” is weak evidence. You have to define in advance what an acceptable answer is.

How do you measure the gap to the threshold?

Take the same bank support chatbot. This is a hypothetical scenario, not a report on a real project. Before deciding whether to continue, you could design a small evaluation that fills in the two numbers from the book’s 60% and 30% example, the target and what an off-the-shelf model can do today, for this particular system:

This design is a proposal, not the result of a real experiment.

The key point is that the output of this evaluation isn’t one overall number. It’s a gap to the threshold for each category. The off-the-shelf model may be close to the threshold on general questions and far from it on complaints.

How do you turn the result into a decision?

Interpretations should stay cautious, because the sample is limited and human judgment has errors too:

For cost estimates, I’d take LinkedIn’s experience seriously: don’t estimate the remaining gap from the speed of early progress, because the last stretch may go much slower.

Agent acceptance rate is a proxy, not quality itself. Agents under heavy load may accept answers without enough review, so a separate audit of a sample of accepted answers helps keep the metric honest.

When AI moves from suggesting answers to agents to answering customers directly, there’s no human left between an error and the customer. So it makes sense to define a quality threshold for each stage, not once for the whole path.

The evaluation stays useful after the first decision. The chapter reminds you that every model has its own quirks, and that without versioning and evaluation infrastructure, switching models becomes a headache. The same samples and the same rubric become your comparison tool the next time the model or the prices change.

The decision rule

My read: the main question before building an AI app isn’t “can we build it?”, because according to the chapter itself, building an initial demo is easy. The question is where the usefulness threshold sits and how far an off-the-shelf model is from it today.

I’d write that threshold down before seeing the first model output, because once you’ve seen a good demo, the definition of “good enough” moves easily. That said, if the goal is only learning, or a low-risk internal tool, this much rigor isn’t necessarily needed. The book itself says to jump right in when you’re learning, and a report the chapter cites says companies deploy internal-facing apps before customer-support chatbots, since the privacy and compliance risks are lower.

The limits are plain: the evaluation above is a design nobody has run here, and the chapter gives no universal threshold. Before asking when it goes live, ask what evidence shows that the system meets the threshold we defined up front, in each category of request.

References