Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Chatbots on Steriods

Chatbots on Steriods

How do you get the best from your chatbots? Can we build chatbots that perform more complex tasks? Can I deploy the same to multiple platforms?

Join me while I share some of my experience on how to build amazing chatbots and deploy the same to multiple platforms.

Avatar for Tairu Oluwafemi

Tairu Oluwafemi

August 08, 2019

Other Decks in Programming

Transcript

  1. PyconAfrica 2019 @_emmarex_ Tairu Oluwafemi Emmanuel Final Year Student @

    Lagos State University, Lagos, Nigeria Former Bot Developer / Data Scientist @ Orodata Science Github: Emmarex Twitter: @_emmarex_
  2. What are chatbots ? “A computer program designed to simulate

    conversation with human users, especially over the Internet.” - Oxford Dictionaries “A chatbot is an artificial intelligence (AI) software that can simulate a conversation (or a chat) with a user in natural language through messaging applications, websites, mobile apps or through the telephone.” - Expert system PyconAfrica 2019 @_emmarex_
  3. What are Steroids ? PyconAfrica 2019 @_emmarex_ “A steroid is

    a type of chemical substance found in your body. Steroids can be artificially introduced into the bodies of athletes to improve their strength.” - Collins Dictionary
  4. The Steroids PyconAfrica 2019 @_emmarex_ 1. Dialogflow. 2. Python Backend.

    3. Pydialogflow-fulfilment. 4. Other Python Packages. 5. You.
  5. THE STEROIDS - Dialogflow PyconAfrica 2019 @_emmarex_ Dialogflow (formerly API.ai)

    allows you building engaging voice and text based conversational interfaces powered by AI and deploy the same easily.
  6. Dialogflow- contd PyconAfrica 2019 @_emmarex_ Key Features ➢ Entities ➢

    Intents ➢ Integrations ➢ In-Line Code Editor ➢ Analytics ➢ Small Talk ➢ Multilingual Agent Support ➢ Cross Platform Support ➢ Fulfillment ➢ Training ➢ Agent Creation & Management
  7. PyconAfrica 2019 @_emmarex_ INTENTS Intents are mapping between what a

    user says and what action our app need to take.
  8. PyconAfrica 2019 @_emmarex_ CONTEXTS Contexts represent the current state of

    a user’s request and allow your agent to carry information from one intent to another.
  9. PyconAfrica 2019 @_emmarex_ ENTITIES Entities are Dialogflow’s mechanism for identifying

    and extracting useful data from natural language inputs. Dialogflow come with some predefined entities like address, phone-number e.t.c.
  10. PyconAfrica 2019 @_emmarex_ FULFILLMENTS Fulfillment in Dialogflow allows you to

    communicate with your backend to generate dynamic responses.
  11. THE STEROIDS - PyDialogflow Fulfillment PyconAfrica 2019 @_emmarex_ PyDialogflow Fulfillment

    makes creating fulfillment for Dialogflow v2 agents with Django or Flask easy and simple. pip install pydialogflow-fulfillment
  12. PyconAfrica 2019 @_emmarex_ RESOURCES ➔ Demo Github Repo ➔ Demo

    Bot on Google Assistant ➔ Dialogflow Quickstart ➔ PyDialogflow Fulfiment