Understand the Machine Learning behind Chatbots

Bhavani Ravi (~bhavaniravi)


Have you ever tried building a chatbot? You would definitely start with Dialogflow or IBM Watson or any chatbot framework from these tech giants. As you start building you be curious to understand what’s happening underneath these engines. When the use case hit the real world you will find the importance of understanding these inner workings.

In this talk, we will open the hood of an open-source chatbot framework RasaNLU and understand the components involved and how they contribute to building a chatbot


The talk is for someone who is curious about chatbot technologies and want to get a deeper understanding of how they work. A bit of python and a few ML beginner videos are enough to get you started building bots.

At the end of the talk, you will have an understanding of how chatbot engines work and how to tackle some of the challenges.


  1. Chatbot’s architecture (5 mins)
    • What is Chatbot?
    • Architecture - A flow Diagram, NLP, NLU
    • Terminologies - Intent, Entities, Actions
  2. ML behind Chatbots (16 mins)
    • Intent Classification - Given a text how does the chatbot understand whether it should search the DB or Greet back. (5 mins)
    • Named Entity Extraction - Given a message, say “By me a pepperoni pizza” how does the chatbot know it has to buy “Pizza” and not pasta (5 mins)
    • Processing pipelines - (5 mins)
  3. Q&A - 4 mins


  1. Basic knowledge of Python

  2. Built a basic chatbot

  3. Has a curiosity to understand the internals of chatbot

Speaker Info:

Bhavani Ravi is a Software Engineer with a passion for technology, an eye for product management, and an OCD for clean, scalable and quality code. Even though her career is enough to keep her busy, she likes to pay forward all the motivation and support she received by running tech communities.

She runs two tech communities in Chennai: Build2Learn, where she motivates college students to learn technology by building cool stuff, and WomenTechMakers, where she enables a forum for talented women to explore the male-dominated tech world. Outside of development and communities, she is a writer, wannapreneur, and constant learner.

http://bhavaniravi.com talks more about her than this description.

Id: 1071
Section: Data Science, Machine Learning and AI
Type: Talks
Target Audience: Intermediate
Last Updated: