DigitAIField Journal
← All articles
Data & decisions

Two receipts, two correct answers

Two receipts are dated a day apart. Both exchange requests arrive on 15 November. Hanne could send the same friendly reply twice. One customer would get the wrong answer.

Two receipts side by side, one dated 31 October 2026 and the other 1 November 2026.
AI-generated illustration

Two till receipts lie side by side. Same item, same price, same branch. One dates from 31 October, the other from 1 November. When both customers write on 15 November about an exchange, Hanne could clear both enquiries with a single, friendly email. It would be wrong exactly once. For purchases made on or after 1 November 2026, her shop extended its voluntary exchange window from 14 to 30 calendar days.

Hanne runs customer service for this fictional shop. Under its sample rule, the date of purchase is day zero. On 15 November the first purchase is 15 days old and the second is 14 days old. Only the shop's voluntary offer is at issue here. Hanne takes both receipts to the first meeting about an AI assistant. Anyone proposing a reply for the November customer can try it out on the October purchase while everyone is in the room. What she wants to know is where the assistant would get the date and the applicable rule.

What the shop has kept in its inbox

A colleague has gathered old support correspondence to help with the project. Many emails say 14 days. The advice was correct when given. Some replies are admirably brief and kind. Hanne would happily keep them as examples of how to talk to a customer. But an old email doesn't tell her who owns the current policy or which purchases it covers. By feeding the whole inbox into training she might teach a model the old wording exceptionally well.

She asks the policy owner for the approved versions. Each identifies its owner, scope and the range of purchase dates to which it applies. She records the source and language as well, so the shop can maintain its German and English information together. The old version remains available for earlier purchases. Overwriting it would create a problem for the customer holding the October receipt.

At answer time the assistant needs the applicable rule and this customer's purchase date. One source describes the shop and the other describes a single transaction. An authorised lookup of the matching order can supply the date. If it is unavailable, the assistant can ask. One technical approach searches for the relevant passage and supplies it to the language model with the enquiry. This is retrieval-augmented generation, or RAG. For this little table of deadlines, a database lookup using purchase date and branch may do the job perfectly well.

Three uses of data in the same support workflow
UseMaterialQuestion to test
Reference at answer timeApproved policy, purchase date, language and scopeDid the system retrieve the passage that applies to this purchase?
Training examples if neededCleaned enquiries with agreed intents and example responsesCan reviewers explain how ambiguous messages are labelled?
Independent evaluationReserved cases, expected response and supporting passageDoes the assistant ask for a missing purchase date?

Where should this record be used?

Choose a fictional record from the shop’s support desk and decide how it should be used.

Classify a record

An anonymised enquiry has a reviewed label of “repair”. Its use as a learning example has been approved.

Which use fits this case?

One sentence and two red pencils

What should a system learn from historical tickets? Hanne gives two colleagues the same small selection to label independently. One marks “This device doesn't fit” as an exchange. The other reads it as a request for technical advice. The customer might mean either. Their disagreement turns out to be more valuable than a label hurriedly settled by majority vote. A good response could ask whether the customer wishes to return the device or needs a hand connecting it.

The reviewers add the example and their decision to a short guide. Fluent colleagues examine the English and German variations. “It doesn't fit” leaves things open. “It won't connect” points towards a different problem. A perfectly serviceable translation may contain a different clue to intent. A second sample lets the reviewers compare decisions again and see where they still differ. A single overall agreement figure could conceal persistent confusion precisely where a repair enquiry borders on an exchange.

Now it makes sense to talk about training data. From approved tickets the team removes personal details, signatures and quoted exchanges that have no bearing on the task. It records what was removed or changed. Related conversations, forwards and translations retain a common case identifier. A clean enquiry paired with an agreed category could serve as a training example for an intent classifier. In fine-tuning, examples alter model weights. Whether that improves on a simple baseline is a matter for a comparison on the task. A folder of good examples is no evidence that a particular product has undergone fine-tuning.

The drawer that stays shut during practice

Hanne sets entire families of cases aside before the team starts improving the system. If it tunes against a German email and later tests against a near-verbatim English translation, a familiar answer can easily pass for a new achievement. The team checks the split for related incidents and close variants. For each reserved case, a subject specialist records the available evidence, the expected response and a concrete reason to fail an answer. The people adjusting the system don't see these final cases while they work.

One entry in the public worksheet concerns a purchase on 1 November and an enquiry on 1 December. Under the sample rule that is day 30. An answer declaring it too late fails. So does one promising the exchange has already been completed. With no purchase date, the assistant must ask. With no approved source, it should offer a review by customer service. The sheet has room to record the actual reply. Its published rows are practice material. Hanne needs her own unseen cases for an independent acceptance test.

When an answer goes wrong she looks at the evidence first. Did the assistant retrieve the November rule for the October purchase? Or did it retrieve the correct rule and count the purchase as day one? In the first case, improve source selection. In the second, check the date calculation and consider giving that part to a small function. More historical emails would mostly add to the pile on the table.

DigitAI can undertake this work with a business, from selecting and cleaning suitable data to testing how the system uses it. Deliverables include a register of approved sources, prepared examples with documented changes, a labelling guide and a separately scored evaluation set. Where a model is fine-tuned, a training record and model version establish what actually ran. Hanne slips the two receipts into her folder for the next staff meeting. She doesn't need to explain model weights to show her colleagues why two politely worded requests deserve different answers that day.

Sources and further reading