© 2019

Building an Enterprise Chatbot

Work with Protected Enterprise Data Using Open Source Frameworks


Table of contents

  1. Front Matter
    Pages i-xxii
  2. Abhishek Singh, Karthik Ramasubramanian, Shrey Shivam
    Pages 1-18
  3. Abhishek Singh, Karthik Ramasubramanian, Shrey Shivam
    Pages 19-33
  4. Abhishek Singh, Karthik Ramasubramanian, Shrey Shivam
    Pages 35-53
  5. Abhishek Singh, Karthik Ramasubramanian, Shrey Shivam
    Pages 55-69
  6. Abhishek Singh, Karthik Ramasubramanian, Shrey Shivam
    Pages 71-192
  7. Abhishek Singh, Karthik Ramasubramanian, Shrey Shivam
    Pages 193-279
  8. Abhishek Singh, Karthik Ramasubramanian, Shrey Shivam
    Pages 281-302
  9. Abhishek Singh, Karthik Ramasubramanian, Shrey Shivam
    Pages 303-344
  10. Abhishek Singh, Karthik Ramasubramanian, Shrey Shivam
    Pages 345-375
  11. Back Matter
    Pages 377-385

About this book


Explore the adoption of chatbots in business by focusing on the design, deployment, and continuous improvement of chatbots in a business, with a single use-case from the banking and insurance sector. This book starts by identifying the business processes in the banking and insurance industry. This involves data collection from sources such as conversations from customer service centers, online chats, emails, and other NLP sources. You’ll then design the solution architecture of the chatbot. Once the architecture is framed, the author goes on to explain natural language understanding (NLU), natural language processing (NLP), and natural language generation (NLG) with examples. 

In the next section, you’ll discuss the importance of data transfers using natural language platforms, such as Dialogflow and LUIS, and see why this is a key process for chatbot development. In the final section, you’ll work with the RASA and Botpress frameworks. 

By the end of Building an Enterprise Chatbot with Python, you will be able to design and develop an enterprise-ready conversational chatbot using an open source development platform to serve the end user.

You will:
  • Identify business processes 
  • Design the solution architecture for a chatbot
  • Integrate chatbots with internal data sources using APIs
  • Discover the differences between natural language understanding (NLU), natural language processing (NLP), and natural language generation (NLG) 
  • Work with deployment and continuous improvement through representational learning


Chatbot Banking Insurance NLP NLTK Microsoft Bots Google Dialogflow Amazon Lex python enterprise chat bot

Authors and affiliations

  1. 1.New DelhiIndia
  2. 2.New DelhiIndia
  3. 3.DonegalIreland

About the authors

Abhishek Singh is on a mission to profess the de facto language of this millennium, the numbers. He is on a journey to bring machines closer to humans, for a better and more beautiful world by generating opportunities with artificial intelligence and machine learning. He leads a team of data science professionals solving pressing problems in food security, cyber security, natural disasters, healthcare, and many more areas, all with the help of data and technology. Abhishek is in the process of bringing smart IoT devices to smaller cities in India so that people can leverage technology for the betterment of life.

He has worked with colleagues from many parts of the United States, Europe, and Asia, and strives to work with more people from various backgrounds. In 7 years at big corporations, he has stress-tested the assets of U.S. banks at Deloitte, solved insurance pricing models at Prudential, and made telecom experiences easier for customers at Celcom, and core SaaS Data products at Probyto. He is now creating data science opportunities with his team of young minds.

He actively participates in analytics-related thought leadership, authoring, public speaking, meetups, and training in data science. He is a staunch supporter of responsible use of AI to remove biases and fair use of AI for a better society.

Abhishek completed his MBA from IIM Bangalore, a B.Tech. In Mathematics and Computing from IITGuwahati, and a PG Diploma in Cyber Law from NALSAR University, Hyderabad.

Karthik Ramasubramanian has over seven years of practice and leading Data Science and Business Analytics in Retail, FMCG, E-Commerce, Information Technology for a multi-national and two unicorn startups. A researcher and problem solver with a diverse set of experience in the data science lifecycle, starting from a data problem discovery to creating a data science prototype/product.

On the descriptive side of data science, designed, developed and spearheaded many A/B experiment frameworks for improving product features, conceptualized funnel analysis for understanding user interactions and identifying the friction points within a product, designing statistically robust metrics and visual dashboards. On the predictive side, developed intelligent chatbots which understand human-like interactions, customer segmentation models, recommendation systems, identifying medical specialization from a patient query for telemedicine, and many more.

He actively participates in analytics related thought leadership, authoring blogs & books, public speaking, meet-ups, and training & mentoring for Data Science.

 Karthik completed his M.Sc. in Theoretical Computer Science at PSG College of Technology, India, where he pioneered the application of machine learning, data mining, and fuzzy logic in his research work on the computer and network security.

Shrey Shivam extensive experience in leading the design, development, and delivery of solutions in the field of data engineering, stream analytics, machine learning, graph databases, and natural language processing. In his seven years of experience, he has worked with various conglomerates, startups, and big corporations and has gained relevant exposure to digital media, e-commerce, investment banking, insurance, and a suite of transaction-led marketplaces across music, food, lifestyle, news, legal and travel.


He is a keen learner and is actively engaged in designing the next generation of systems powered by artificial intelligence-based analytical and predictive models. He has taken up various roles in product management, data analytics, digital growth, system architecture, and full stack engineering. In the era of rapid acceptance and adoption of new and emerging technologies, he believes in strong technical fundamentals and advocates continuous improvement through self-learning.


Shrey is currently leading a team of machine learning & big data engineers across the US, Europe, and India to build robust and scalable big data pipelines to implement various statistical and predictive models. Shrey has completed his BTech in Information Technology from Cochin University of Science Technology, India.

Bibliographic information