SlideShare a Scribd company logo
>< nextprevious
Designing a BOT
Kaushik Das
twitter.com/theKaushik
>< nextprevious
What is a bot?
>< nextprevious
No we are not
discussing that…
>< nextprevious
Conversational Intelegent Bot
Lets discuss how to build a simple
For the sake of an use case lets say we want to create a bot who can cook food for us. Say we have a robot
with all functioning mechanical parts and all we need to do now is build a brain for the robot.
If you think of cooking its all about formula and set of processes (Ignore Gordon Ramsay for a moment and his
cooking instincts). So if you think of it in a simple world all this brain needs to do is understand what i am asking
to cook and use the formula to do set of activity to cook the item.
USE CASE
>< nextprevious
Kaushik’s Future Kitchen
>< nextprevious
Introducing Samantha
Good cook and loves to chat
>< nextprevious
DESIGN
>< nextprevious
Decide Purpose
‣ Molecular design approach, think as one bot is
good at solving one problem.
‣ Multipurpose bots are basically a cluster of
multiple bots
COOKING
What to cook?
For how many
people?
How to cook?
What groceries i
need?
How do i serve?
cook bot should do you need another bot
>< nextprevious
Purpose is your Intent
>< nextprevious
What to cook?
>< nextprevious
Decide Trigger Words
‣ Imagine this as keyword which will decide
certain flow
‣ Your bot need to know that keyword Cake
means a Food item and not shit
‣ Need training
‣ Exponentially increases estimate for cascading
functionalities, cake vs dung cake
‣ Analogy would be think it as a new born baby
and you are trying to teach her how the world
works
>< nextprevious
Trigger Keywords is
your Entities
>< nextprevious
>< nextprevious
Integration
‣ This is where you will take it to next level of
intelligence.
‣ Before we jump to how integration works for
our bot; lets discuss some fundamentals for
this process.
>< nextprevious
High level view
QUERY PROCESS DECIDE INTENT
I am
hungry?
With NLP
decide its
intent. Do you want some
pizza?
I can cook
something
>< nextprevious
High level view
QUERY PROCESS DECIDE INTENT
SPEECH
PROCESSING
DATA INTELLEGENCE
>< nextprevious
So where can we start?
SPEECH
PROCESSING
DATA INTELLEGENCE
SPEECH PROCESSING:
• Natural language Processing (NLP)
• API.AI , FB Deep Text
DATA:
• Data is knowledge.
• IBM Data, Geo Data, Alexa Skill Kit ,
Wolfram Alpha
INTELLEGENCE:
• Decision making, Probability.
• Rule based AI for simple tasks,
Baye’s Theorem of Probability
>< nextprevious
so back to Integration
>< nextprevious
Integrating with NLP & ..
‣ Most new gen AI platforms gives NLP OOB.
‣ Multi lingual NLP is still not up to the mark
In future we will have more
complex task available just
using an on-off switch.
>< nextprevious
Integrating Complex Services
‣ Understand the activity it needs to achieve,
multiple end point vs single end point.
‣ Time taken to execute, Synchronous vs
asynchronous
‣ WTF Webhooks and timeouts (Sample webhook url below for
you to try)
Approach 1
APP API.AI CUSTOME AI SERVICE
Approach 2
APP CUSTOME AI SERVICE API.AI
Git Hub: https://goo.gl/2Xaijb
>< nextprevious
Integration is your
Fulfilment
>< nextprevious
At intent level
>< nextprevious
PLAY TIME
>< nextprevious
Lets do a social
experiment ( Dec 8 to Dec 31, 2017 )
‣ Lets train the baby cook!!!
‣ Ask her every possible thing.
‣ Every weekend I will re - train her.
http://sntech.xyz/bot/cook?talk=who are
you?
(Sorry if the url is down you can watch the demo here: https://www.youtube.com/
watch?v=V_us1GSz4TI )
>< nextprevious
Source code
‣ Reach out to me at twitter.com/theKaushik if
you need the source code to play around.
>< nextprevious
Thanks to..
http://www.fatsecret.com/
https://api.ai/
>< nextprevious
APPENDIX
>< nextprevious
In 1997, Watson
precursor, IBM’s Deep
Blue beat the reigning
chess grand master
Garry Karparov in a
famous man-vs-
machine match.
After machines repeated
their victories in a few
more matches human
largely lost interest
https://www.youtube.com/v/
NJarxpYyoFI&start=06&end=109
>< nextprevious
But thats not end of the story….
If Kasparov had the same instance access to massive database of all
possible moves that Deep Blue had he could have performed better..
If this database tool was fair for an AI, why not
for a human?
To pursue the idea Kasparov pioneered the concept of Man+Machine
matches like mixed martial art where players can use what ever
technique they want.
>< nextprevious
SAMANTHA 2.0
THANK YOU
http://twitter.com/theKaushik

More Related Content

What's hot (10)

PDF
As good as google.
DaianeSantosManzine
 
PDF
What Is This Continuous Delivery Thing Anyway? - PuppetConf 2013
Puppet
 
PDF
JavaCro'14 - Can You Tell Me How to Get to Sesame Street I wanna be a Grails ...
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
PDF
Thoughts about Shape Up
Diego Pacheco
 
PDF
WordPress Productivity Hack #1
Brad Hauck
 
PPT
What have you learnt about technologies from the
annac21
 
PPTX
Blog Farm Pro Review
Marc Duchene
 
PPTX
Improving Workflows With Grunt.js - Big D Design 2014 - Dallas Texas
Preston McCauley
 
PPT
Starting off in PhotoShiop and how it fits into the web design process
John Macpherson
 
PPTX
Kristof van roy-behind_the_scenes
nascomgenk
 
As good as google.
DaianeSantosManzine
 
What Is This Continuous Delivery Thing Anyway? - PuppetConf 2013
Puppet
 
JavaCro'14 - Can You Tell Me How to Get to Sesame Street I wanna be a Grails ...
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
Thoughts about Shape Up
Diego Pacheco
 
WordPress Productivity Hack #1
Brad Hauck
 
What have you learnt about technologies from the
annac21
 
Blog Farm Pro Review
Marc Duchene
 
Improving Workflows With Grunt.js - Big D Design 2014 - Dallas Texas
Preston McCauley
 
Starting off in PhotoShiop and how it fits into the web design process
John Macpherson
 
Kristof van roy-behind_the_scenes
nascomgenk
 

Viewers also liked (20)

PDF
Build your first messenger bot
Nowa Labs Pte Ltd
 
PDF
Chatbot - new opportunities and insights
Po-Cheng Chu
 
PPTX
Chatbot ppt
Geff Thomas
 
PDF
Chabot is a not a product, it's a feature
Michael Vakulenko
 
PPTX
Voice Interfaces Usergroup Berlin - 05-10-2016 : Kay Lerch on Morse-Coder skill
Kay Lerch
 
PPTX
How to Succeed With Rewarded Video Ads
Sohan Maheshwar
 
PPTX
Speech Recognition, Text to Speech, and Voice Interfaces
Christiana Vasquez
 
PPTX
Mobile Gaming Monetization Trends in 2016
Sohan Maheshwar
 
PDF
How do I write Testable Javascript?
Gavin Pickin
 
PDF
The curious Life of JavaScript - Talk at SI-SE 2015
jbandi
 
PPTX
KiwiPyCon 2014 talk - Understanding human language with Python
Alyona Medelyan
 
PPTX
ICS2208 lecture4
Vanessa Camilleri
 
PDF
Applying Science to Conversational UX Design
Raphael Arar
 
PPTX
The Journey to conversational interfaces
Romin Irani
 
PDF
Chatbot Meetup
Luca Bianchi
 
PDF
Amazon Alexa Voice Interfaces Meetup Berlin August 2016
Tilmann Böhme
 
PDF
Build advanced Voice Assistants and Chat Bots - Stève Sfartz - Codemotion Mil...
Codemotion
 
POTX
Where's Jarvis? The future of Voice Recognition and Natural Language User Int...
UXPA International
 
PDF
Introduction to Chat Bots
Alyona Medelyan
 
PPTX
Chatbots - What, Why and How? - Beerud Sheth
WithTheBest
 
Build your first messenger bot
Nowa Labs Pte Ltd
 
Chatbot - new opportunities and insights
Po-Cheng Chu
 
Chatbot ppt
Geff Thomas
 
Chabot is a not a product, it's a feature
Michael Vakulenko
 
Voice Interfaces Usergroup Berlin - 05-10-2016 : Kay Lerch on Morse-Coder skill
Kay Lerch
 
How to Succeed With Rewarded Video Ads
Sohan Maheshwar
 
Speech Recognition, Text to Speech, and Voice Interfaces
Christiana Vasquez
 
Mobile Gaming Monetization Trends in 2016
Sohan Maheshwar
 
How do I write Testable Javascript?
Gavin Pickin
 
The curious Life of JavaScript - Talk at SI-SE 2015
jbandi
 
KiwiPyCon 2014 talk - Understanding human language with Python
Alyona Medelyan
 
ICS2208 lecture4
Vanessa Camilleri
 
Applying Science to Conversational UX Design
Raphael Arar
 
The Journey to conversational interfaces
Romin Irani
 
Chatbot Meetup
Luca Bianchi
 
Amazon Alexa Voice Interfaces Meetup Berlin August 2016
Tilmann Böhme
 
Build advanced Voice Assistants and Chat Bots - Stève Sfartz - Codemotion Mil...
Codemotion
 
Where's Jarvis? The future of Voice Recognition and Natural Language User Int...
UXPA International
 
Introduction to Chat Bots
Alyona Medelyan
 
Chatbots - What, Why and How? - Beerud Sheth
WithTheBest
 
Ad

Similar to Designing a Conversational Intelligent Bot which can cook (20)

PDF
Chatbot development workshop with the Microsoft Bot Framework
gjuljo
 
PPTX
Your Next App Might Just Be a Bot: Building Conversational Bots with Python
David Asamu
 
PPTX
AI ML Unit-1 in machine learning techniques.pptx.
lakhatariyajaimin09
 
PDF
Bots & Machine Learning Change Customer Interactions - Connected Brains 2018
LoQutus
 
PDF
How to design your unique ChatGPT with OpenAI's GPT Builder.pdf
SOFTTECHHUB
 
PPTX
LUIS and Bots
Daniel Toomey
 
PPTX
Artificial Intelligence Today (22 June 2017)
Sabri Sansoy
 
PDF
Designing Intelligent Coversations: A Chatbot Workshop
Austin Beer
 
PPTX
Clever data building a chatbot from your database
Luis Beltran
 
PDF
AI 2023.pdf
DavidCieslak4
 
PPTX
The Basics of Bots: How To Use Chat Bots & AI Assistant Technology
AskBrian
 
PPTX
Mat Velloso - Bots in the real world
Web à Québec
 
PPTX
Build a mobile chatbot with Xamarin
Luis Beltran
 
PPTX
BUILD WITH AI for GDG on campus MVJCE.pptx
greeshmadj0
 
PPTX
Intro to Chatbots using Microsoft bot framework and Azure cognitive services
Rachhek Shrestha
 
PDF
Realizing AI Conversational Bot
Rakuten Group, Inc.
 
PPTX
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
Paul Prae
 
PDF
Bot design AIsatPN 2018
Jessica Tibaldi
 
PPT
Building a bot with an intent
Abhishek Sur
 
PDF
Machine Learning for Designers - UX Camp Switzerland
Memi Beltrame
 
Chatbot development workshop with the Microsoft Bot Framework
gjuljo
 
Your Next App Might Just Be a Bot: Building Conversational Bots with Python
David Asamu
 
AI ML Unit-1 in machine learning techniques.pptx.
lakhatariyajaimin09
 
Bots & Machine Learning Change Customer Interactions - Connected Brains 2018
LoQutus
 
How to design your unique ChatGPT with OpenAI's GPT Builder.pdf
SOFTTECHHUB
 
LUIS and Bots
Daniel Toomey
 
Artificial Intelligence Today (22 June 2017)
Sabri Sansoy
 
Designing Intelligent Coversations: A Chatbot Workshop
Austin Beer
 
Clever data building a chatbot from your database
Luis Beltran
 
AI 2023.pdf
DavidCieslak4
 
The Basics of Bots: How To Use Chat Bots & AI Assistant Technology
AskBrian
 
Mat Velloso - Bots in the real world
Web à Québec
 
Build a mobile chatbot with Xamarin
Luis Beltran
 
BUILD WITH AI for GDG on campus MVJCE.pptx
greeshmadj0
 
Intro to Chatbots using Microsoft bot framework and Azure cognitive services
Rachhek Shrestha
 
Realizing AI Conversational Bot
Rakuten Group, Inc.
 
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
Paul Prae
 
Bot design AIsatPN 2018
Jessica Tibaldi
 
Building a bot with an intent
Abhishek Sur
 
Machine Learning for Designers - UX Camp Switzerland
Memi Beltrame
 
Ad

Recently uploaded (20)

PDF
Trading Volume Explained by CIFDAQ- Secret Of Market Trends
CIFDAQ
 
PDF
Arcee AI - building and working with small language models (06/25)
Julien SIMON
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
CIFDAQ'S Token Spotlight for 16th July 2025 - ALGORAND
CIFDAQ
 
PDF
Upskill to Agentic Automation 2025 - Kickoff Meeting
DianaGray10
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PDF
Sustainable and comertially viable mining process.pdf
Avijit Kumar Roy
 
PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 
PDF
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
PDF
Novus-Safe Pro: Brochure-What is Novus Safe Pro?.pdf
Novus Hi-Tech
 
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
PDF
How a Code Plagiarism Checker Protects Originality in Programming
Code Quiry
 
PDF
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
PDF
Rethinking Security Operations - Modern SOC.pdf
Haris Chughtai
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PDF
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
Trading Volume Explained by CIFDAQ- Secret Of Market Trends
CIFDAQ
 
Arcee AI - building and working with small language models (06/25)
Julien SIMON
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
CIFDAQ'S Token Spotlight for 16th July 2025 - ALGORAND
CIFDAQ
 
Upskill to Agentic Automation 2025 - Kickoff Meeting
DianaGray10
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
Sustainable and comertially viable mining process.pdf
Avijit Kumar Roy
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Bitcoin+ Escalando sin concesiones - Parte 1
Fernando Paredes García
 
Upgrading to z_OS V2R4 Part 01 of 02.pdf
Flavio787771
 
Novus-Safe Pro: Brochure-What is Novus Safe Pro?.pdf
Novus Hi-Tech
 
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
How a Code Plagiarism Checker Protects Originality in Programming
Code Quiry
 
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
Rethinking Security Operations - Modern SOC.pdf
Haris Chughtai
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 

Designing a Conversational Intelligent Bot which can cook

  • 1. >< nextprevious Designing a BOT Kaushik Das twitter.com/theKaushik
  • 3. >< nextprevious No we are not discussing that…
  • 4. >< nextprevious Conversational Intelegent Bot Lets discuss how to build a simple
  • 5. For the sake of an use case lets say we want to create a bot who can cook food for us. Say we have a robot with all functioning mechanical parts and all we need to do now is build a brain for the robot. If you think of cooking its all about formula and set of processes (Ignore Gordon Ramsay for a moment and his cooking instincts). So if you think of it in a simple world all this brain needs to do is understand what i am asking to cook and use the formula to do set of activity to cook the item. USE CASE >< nextprevious Kaushik’s Future Kitchen
  • 8. >< nextprevious Decide Purpose ‣ Molecular design approach, think as one bot is good at solving one problem. ‣ Multipurpose bots are basically a cluster of multiple bots COOKING What to cook? For how many people? How to cook? What groceries i need? How do i serve? cook bot should do you need another bot
  • 11. >< nextprevious Decide Trigger Words ‣ Imagine this as keyword which will decide certain flow ‣ Your bot need to know that keyword Cake means a Food item and not shit ‣ Need training ‣ Exponentially increases estimate for cascading functionalities, cake vs dung cake ‣ Analogy would be think it as a new born baby and you are trying to teach her how the world works
  • 14. >< nextprevious Integration ‣ This is where you will take it to next level of intelligence. ‣ Before we jump to how integration works for our bot; lets discuss some fundamentals for this process.
  • 15. >< nextprevious High level view QUERY PROCESS DECIDE INTENT I am hungry? With NLP decide its intent. Do you want some pizza? I can cook something
  • 16. >< nextprevious High level view QUERY PROCESS DECIDE INTENT SPEECH PROCESSING DATA INTELLEGENCE
  • 17. >< nextprevious So where can we start? SPEECH PROCESSING DATA INTELLEGENCE SPEECH PROCESSING: • Natural language Processing (NLP) • API.AI , FB Deep Text DATA: • Data is knowledge. • IBM Data, Geo Data, Alexa Skill Kit , Wolfram Alpha INTELLEGENCE: • Decision making, Probability. • Rule based AI for simple tasks, Baye’s Theorem of Probability
  • 18. >< nextprevious so back to Integration
  • 19. >< nextprevious Integrating with NLP & .. ‣ Most new gen AI platforms gives NLP OOB. ‣ Multi lingual NLP is still not up to the mark In future we will have more complex task available just using an on-off switch.
  • 20. >< nextprevious Integrating Complex Services ‣ Understand the activity it needs to achieve, multiple end point vs single end point. ‣ Time taken to execute, Synchronous vs asynchronous ‣ WTF Webhooks and timeouts (Sample webhook url below for you to try) Approach 1 APP API.AI CUSTOME AI SERVICE Approach 2 APP CUSTOME AI SERVICE API.AI Git Hub: https://goo.gl/2Xaijb
  • 21. >< nextprevious Integration is your Fulfilment
  • 24. >< nextprevious Lets do a social experiment ( Dec 8 to Dec 31, 2017 ) ‣ Lets train the baby cook!!! ‣ Ask her every possible thing. ‣ Every weekend I will re - train her. http://sntech.xyz/bot/cook?talk=who are you? (Sorry if the url is down you can watch the demo here: https://www.youtube.com/ watch?v=V_us1GSz4TI )
  • 25. >< nextprevious Source code ‣ Reach out to me at twitter.com/theKaushik if you need the source code to play around.
  • 28. >< nextprevious In 1997, Watson precursor, IBM’s Deep Blue beat the reigning chess grand master Garry Karparov in a famous man-vs- machine match. After machines repeated their victories in a few more matches human largely lost interest https://www.youtube.com/v/ NJarxpYyoFI&start=06&end=109
  • 29. >< nextprevious But thats not end of the story…. If Kasparov had the same instance access to massive database of all possible moves that Deep Blue had he could have performed better.. If this database tool was fair for an AI, why not for a human? To pursue the idea Kasparov pioneered the concept of Man+Machine matches like mixed martial art where players can use what ever technique they want.
  • 30. >< nextprevious SAMANTHA 2.0 THANK YOU http://twitter.com/theKaushik