Subscribe to GEN
Login to GEN
Add a Comment
A 24/7 fault line that takes a tenant's report by voice, books the on-call trade by telephone and uses a language model only to classify the call, with ordinary code handling everything else
A 24/7 fault line with no agents waiting by the phones, on-call trades booked automatically by telephone, and a language model whose only job was to pick a category.
We've long been able to have smart IVRs, where a caller is asked the nature of their call, a list of likely departments is rendered and then a choice is made. However, we've gone a step further.
A housing association client was looking to replace their 24/7 tenant support service with some form of answering machine that took a message and sent it on via email. This avoided having tele-agents sitting waiting for calls all night, when some nights there were none, and attempted to deal with Covid restrictions affecting some trades.
We said, no no, we can do better, and we did.
Here is how a call from a tenant goes:
| Speaker | Said |
|---|---|
| System | Welcome to Noname Housing Association's Fault Line. Please briefly describe the issue you are having, or state a previous reference number. |
| Tenant | There is water coming in through the ceiling! |
| System | OK, from your phone number I believe your address is 123 Redacted Road, Hounslow? |
| Tenant | Yes. |
| System | OK, your reference is 12345 and someone will contact you very shortly on this number and give you their ETA. |
| Tenant | Thank you. |
| System | You're welcome. If you need to call us again, quote reference 12345. Goodbye. |
Then we looked up the on-call plumbers for that building, raised an emergency order against them, and our system called them in order until one accepted the job.
| Speaker | Said |
|---|---|
| Plumber | Hello? |
| System | This is the booking system for Noname Housing Association. We have an urgent job, our reference 12345, for a serious leak at 123 Redacted Road, Hounslow. To accept the job, please press 1, or to reject the job, please press 2. |
| Plumber | Presses 1 (DTMF) |
| System | Thank you, we've sent you a link via email. Please follow it and log in for all the information, and use the same link when the job is complete. Goodbye. |
The email carried only a link. Logging in gave them the tenant, the building, the visitor alarm codes, key numbers, key holders and transcripts of the call interactions: everything needed to let themselves in should they have to, which in an emergency they often do. When the work was finished, the same link took them to a job complete form, which asked for more details, let them attach pictures and so on, and was passed to the housing association for their records.
Such a simple system, you might think? Well, not that complex actually, and the large language model doing the work was only part of the process. Its main job was classifying rather than interacting. We didn't want a situation where its directions were unclear, and so the majority of the logic ran outside of it.
For example, given "There's water pouring through the ceiling", the model returned "Plumbing". That was its job. Our code then handled plumbing.
If the model had returned "Glazing" in response to a broken window, then our logic would have asked follow-up questions about the security of the property and the risk to the public, before deciding whether an emergency glazier was required or the following day was sufficient.
At all times the system had an escalation point. If it was unsure, it could call the on-call supervisor for instruction, and initially it did, until we'd fine-tuned it.
The model picks the category. Our code decides what happens next.
This content is not legal or financial advice, and is solely the opinion of the author.