What a language model can do for your chatbot

A language model is a system that predicts likely text. That sounds trivial until you give it your own product documentation and a customer question, at which point it becomes a useful support tool.

The three parts that matter

  1. The model. The engine that writes the answer.
  2. The knowledge. Your documents, policies and past conversations.
  3. The instructions. The prompt that tells the model how to behave, in what tone and with what limits.

Most disappointing chatbots fail on parts two and three, not on the model.

Grounding beats cleverness

Grounding means the answer is built from retrieved passages rather than the model’s memory. It has three benefits: answers stay current when you update a document, you can cite the source, and the model can decline when there is nothing to cite. A grounded small model usually beats an ungrounded large one for support work.

How to judge quality without guessing

Write twenty real questions with the answer you would accept from a trained agent. Run them after every change. Track three numbers: correct, wrong, declined. A chatbot that declines cleanly is more useful than one that answers confidently and incorrectly.

Cost and latency

Customers notice a two second answer and forgive a five second one only if the answer is good. Smaller models and caching of frequent answers do more for perceived speed than any infrastructure change. Measure both before you scale.

Where a person still belongs

Refunds above a threshold, complaints, anything legal, and any conversation where the customer asks for a human. Handing over quickly is not a failure of the bot. It is the design working.

Talk to us if you want help grounding a model on your own knowledge base.