A global tech giant wanted to create a chatbot for its messenger. The chatbot had to use deep learning algorithms to maintain conversations on sports.
The chatbot would provide scores and schedules, advanced game statistics, and players’ latest rating comparisons.
The bot collects request analytics and provides users with the full information about the game community’s trends — which teams the community discusses the most, which players are “on fire” this week, etc.
User-bot communication flow:
On the technical side of things, the chatbot utilizes Azure Bot Service, an all-in-one platform that accelerates bot development, which is an integral part of the Microsoft Bot Framework.
Fast response (<10ms) is guaranteed by a complex two-level caching system, comprising such services as Redis, Microsoft SQL Server, Azure Cosmos DB and Table Storage. Cosmos DB, a highly responsive database, allows distributing the data across a network of regional data centers, rather than keeping it centralized. For instance, when a fan from North America or Asia (regions with most game fans) asks a question, the chatbot always connects to the nearest data center to ensure the lowest possible end-to-end latency.
Due to its modular structure, the chatbot can be quickly integrated with another statistics storage/database and adjusted for other sport or domain.