Problem
A telecom support bot built on scripted scenarios and a hybrid intent classifier (rules plus ML models) had automated almost all typical requests by 2023, and business metrics stopped growing. The codebase had also become bulky. The team hoped an LLM would give more natural answers, raise tNPS and the share of automated requests, and speed up development by replacing scenario code with prompts.
Example from the article: a pilot of about two and a half months started at the end of 2024 on several scenarios, from one with no integrations to one of the most complex.
Solution in brief
Keep the existing intent classification and scripts. For selected topics, call a prompted LLM service instead of sending a fixed phrase, with the dialogue context in the prompt and a fallback to the old logic on the platform. The pilot raised satisfaction and automation but did not speed up development. Code should keep checks, API handling and calculations; the LLM should word the final answer.
Questions this case answers
- How to introduce a generative model into an existing rule-based dialogue system so that gains in user satisfaction are not lost to higher latency, unstable output and harder testing
- How to divide responsibilities between deterministic code and a language model in a customer-facing flow with a fallback to the old logic
- How to add an LLM to a rule-based support chatbot without rewriting the whole scenario code?
- How to split work between code and an LLM in a dialogue bot so that answers stay reliable?
Tools and methods
- LLM layer on top of a scripted bot — the old classifier picks one of about 400 intents, and for chosen topics an LLM writes the answer
- Prompt engineering — strict instructions and restrictions narrow the model's room to invent
- Dialogue summary for operators — an LLM condenses the bot conversation before handoff to a human
- Pilot per scenario — scenarios of varied complexity expose bottlenecks
Google or a one-time email code. No password.