SlideShare a Scribd company logo
Conversational UI: say HI To Dialogflow v2.0
Conversational UI: Say Hi To Dialogflow
Use Cases
Informational – Chatbots for updating requests:
• Weather information;
• News updates…
Use Cases
Application – Chatbots for online services:
• Book tickets;
• Order food;
• Manage bank account…
Use Cases
Internet of Things (IoT) – Chatbots for controlling devices:
• Smart house;
• Cars;
• Wearables…
Use Cases
Enterprise – Chatbots for automation work activities:
• Provide reports;
• Check metrics…
Google Assistant
History:
2011 - Google was enhancing its product Google Voice Search for the
next version of Android.
2012 - Google Now was unveiled as part of the premier demonstration
of Android 4.1 Jelly Bean.
2016 - Assistant debuted as part of Google's messaging app Allo, and
voice-activated speaker Google Home.
2017 - Assistant began to be deployed on other Android devices;
Google Assistant
Google Assistant
Google Assistant
History:
2011 - Speaktoit launched Assistant - an intelligent personal assistant
application for mobile devices.
2014 - Speaktoit released API.AI - the voice-enabling engine for their
Assistant application.
2016 - Google bought Speaktoit, and include API.AI into their
infrastructure.
2017 - API.AI become Dialogflow.
Features:
-Build natural and rich conversational
applications;
-Use machine learning to understand what
users are saying;
-Integrations with numbers of platform (such as
Google Assistant, Slack, Cortana, Alexa and
Facebook Messenger);
-Integrations with numbers of devices
(wearables, phones, cars, speakers and other
smart devices);
-Multilanguage supporting.
Conversational UI: say HI To Dialogflow v2.0
Conversational UI: say HI To Dialogflow v2.0
Intents
An intent represents a mapping between
what a user says and what action should
be taken by your software.
Events
Events is a feature that allows you to
invoke intents by an event name instead of
a user query.
Entities
Used for extracting parameter values from
natural language inputs.
Actions and Parameters
An action corresponds to the step your application will take when a specific
intent has been triggered by a user’s input.
Parameters are elements generally used to connect words in a user’s
response, to entities.
Contexts
Contexts represent the current context of a user's request.
Responses
Agent’s responses which will be provided by application when the intent
is triggered.
Fulfillment (Webhook)
Fulfillment allows to pass information from a matched intent into a web
service and get a result from it.
Conversational UI: say HI To Dialogflow v2.0
Cloud Functions for Firebase
Cloud Functions for Firebase automatically runs
backend code in response to events triggered by
Firebase features and HTTPS requests. The code is
stored in Google's cloud and runs in a managed
environment.
Firebase Realtime Database
The Firebase Realtime Database is a cloud-hosted
database. Data is stored as JSON and synchronized
in realtime to every connected client.
Conversational UI: say HI To Dialogflow v2.0
Conversational UI: say HI To Dialogflow v2.0
Conversational UI: say HI To Dialogflow v2.0
Conversational UI: say HI To Dialogflow v2.0
Conversational UI: say HI To Dialogflow v2.0
Booking an appointment
From GUI to CUI
Write your core experiences like a screenplay.
And then keep it at a high level, where the boxes
represent entire dialogue or user intents.
Booking an appointment screenplay
User Talk to Booking Health
Google Assistant Sure, here's Booking Health.
Booking Health Hello and welcome to Booking Health. Would you like to book an appointment at your clinic?
User Yes
Booking Health Sure, let’s get started. First of all, please choose an appointment type.
User Diabetic
Booking Health There are several branches available in your practice. Please, pick your branch
User Anchor Bankside
Booking Health Here's a number of practitioners and time slots for you to pick from. Let's go and pick out of those
available.
User May 11th 2018, 1:20 pm
Booking Health Awesome! Another great thing for you to do will be to add a reason for your visit
User Yes
Booking Health Ok, tell me please a few words about your visiting reasons.
User I have a headache
Booking Health So, you are going to book appointment in Anchor Bankside at May 11th 2018, 1:20 pm. Your practitioner
will be Dr. Diana Kraning. And your reason is - headache. Should I book this appointment?
User Book
Booking Health Your appointment is now booked. If you need to book a new one, please, don't hesitate to do so. Have a
great day!
Booking an appointment Dialogflow
Booking an appointment Dialogflow & Fulfillment
Source code and resources
Project
Actions on Google Dialogflow
Cloud Functions for Firebase Firebase Realtime Database
Thanks for your attention 
Special thanks to Yekaterina Yevtushenko
for her help with making dialogs more human.
And Alexey Rozanov for his help with JS
code review.

More Related Content

PDF
Dialogflow
PPTX
Developing Chatbots with Google DialogFlow
PPTX
Chatbot Basics - Building Chatbots using Google Dialogflow
PDF
How to build a Chatbot with Google's Dialogflow
PDF
Dialogflow
PPTX
Developing Chatbots with API.ai/Dialog flow
PPTX
How a chat bot using dialog flow works
PPTX
LINE Messenger Chatbot - What is Chatbot
Dialogflow
Developing Chatbots with Google DialogFlow
Chatbot Basics - Building Chatbots using Google Dialogflow
How to build a Chatbot with Google's Dialogflow
Dialogflow
Developing Chatbots with API.ai/Dialog flow
How a chat bot using dialog flow works
LINE Messenger Chatbot - What is Chatbot

What's hot (20)

PPTX
Conversational AI: What's New?
PDF
chatbot and messenger as a platform
PPTX
Facebook Messenger Bot with Flask & Google App Engine
PPTX
QuickBooks Connect 2016 - Building your first QuickBooks App integration
PDF
You do not understand me, Rob Pickering, Aplisay, TADSummit EMEA 2019
PPTX
PPTX
PDF
The near future for artificial intelligence and conversation bots
PDF
apidays LIVE Singapore - Your API documentation powered by AI by Hervé Vu Rou...
POTX
What is a chatbot?
PPTX
Modern site and teams provisioning across a Bot, SPFx, Azure Function and Mic...
PPT
SBP Integrate Smartsheet with Appsheet
PPTX
How the Dutch Police became “Chatbot” interactive
PDF
How to Embed UX Thinking in Your Next API
PPTX
QuickBooks Connect 2016 - Marketing your app: learn from your developer peers
PDF
QuickBooks Connect 2015: Hackathon Kickoff
PPTX
Chatbot development with Microsoft Bot Framework and LUIS
PPTX
Microsoft Cognitive Services - Recommendations API: Your first recommendation...
PPTX
QuickBooks Connect 2016 - Building a global app: understanding the Global Tax...
PDF
Research Updates from Rasa: Transformers in NLU and Dialogue
Conversational AI: What's New?
chatbot and messenger as a platform
Facebook Messenger Bot with Flask & Google App Engine
QuickBooks Connect 2016 - Building your first QuickBooks App integration
You do not understand me, Rob Pickering, Aplisay, TADSummit EMEA 2019
The near future for artificial intelligence and conversation bots
apidays LIVE Singapore - Your API documentation powered by AI by Hervé Vu Rou...
What is a chatbot?
Modern site and teams provisioning across a Bot, SPFx, Azure Function and Mic...
SBP Integrate Smartsheet with Appsheet
How the Dutch Police became “Chatbot” interactive
How to Embed UX Thinking in Your Next API
QuickBooks Connect 2016 - Marketing your app: learn from your developer peers
QuickBooks Connect 2015: Hackathon Kickoff
Chatbot development with Microsoft Bot Framework and LUIS
Microsoft Cognitive Services - Recommendations API: Your first recommendation...
QuickBooks Connect 2016 - Building a global app: understanding the Global Tax...
Research Updates from Rasa: Transformers in NLU and Dialogue
Ad

Similar to Conversational UI: say HI To Dialogflow v2.0 (20)

PDF
Your First Assistant App with DialogFlow + Firebase
PDF
Google Assistant Actions – Codelab and Hackathon - 2018.06.06
PPTX
Hey hubballi! - Talk on "Actions on Google" #DevFestHubali
PDF
Google Assistant Revolution
PDF
Building Conversational Experiences for Google Assistant
PDF
Extending the google_assistant
PPTX
introduction to Dialogflow ES process.pptx
PPTX
CCI2019 - Governance di una Conversational AI
PDF
ICONUK 2018 - Do You Wanna Build a Chatbot
PDF
Building your actions for Google Assistant
PDF
Get started with Dialogflow & Contact Center AI on Google Cloud
PDF
Building Conversational Experiences with Actions on Google
PPTX
Building google home applications tutorial
PPTX
Dialogflow Chat Experiences Best Practices for Intent Detection // Measuring ...
PPTX
Governance di una Conversational AI
PDF
Building Conversational Experiences for Google Assistant '18
PDF
Actions On Google - How? Why?
PDF
The Voice Interface Revolution
PPTX
IBM Watson assistant
PDF
GenAI for Daily Operation including PromQL generator
Your First Assistant App with DialogFlow + Firebase
Google Assistant Actions – Codelab and Hackathon - 2018.06.06
Hey hubballi! - Talk on "Actions on Google" #DevFestHubali
Google Assistant Revolution
Building Conversational Experiences for Google Assistant
Extending the google_assistant
introduction to Dialogflow ES process.pptx
CCI2019 - Governance di una Conversational AI
ICONUK 2018 - Do You Wanna Build a Chatbot
Building your actions for Google Assistant
Get started with Dialogflow & Contact Center AI on Google Cloud
Building Conversational Experiences with Actions on Google
Building google home applications tutorial
Dialogflow Chat Experiences Best Practices for Intent Detection // Measuring ...
Governance di una Conversational AI
Building Conversational Experiences for Google Assistant '18
Actions On Google - How? Why?
The Voice Interface Revolution
IBM Watson assistant
GenAI for Daily Operation including PromQL generator
Ad

More from DataArt (20)

PDF
DataArt Custom Software Engineering with a Human Approach
PDF
DataArt Healthcare & Life Sciences
PDF
DataArt Financial Services and Capital Markets
PDF
About DataArt HR Partners
PDF
Event management в IT
PDF
Digital Marketing from inside
PPTX
What's new in Android, Igor Malytsky ( Google Post I|O Tour)
PDF
DevOps Workshop:Что бывает, когда DevOps приходит на проект
PDF
IT Talk Kharkiv: «‎Soft skills в IT. Польза или вред? Максим Бастион, DataArt
PDF
«Ноль копеек. Спастись от выгорания» — Сергей Чеботарев (Head of Design, Han...
PDF
Communication in QA's life
PDF
Нельзя просто так взять и договориться, или как мы работали со сложными людьми
PDF
Знакомьтесь, DevOps
PDF
DevOps in real life
PDF
Codeless: автоматизация тестирования
PDF
Selenoid
PDF
Selenide
PDF
A. Sirota "Building an Automation Solution based on Appium"
PDF
Эмоциональный интеллект или как не сойти с ума в условиях сложного и динамичн...
PPTX
IT talk: Как я перестал бояться и полюбил TestNG
DataArt Custom Software Engineering with a Human Approach
DataArt Healthcare & Life Sciences
DataArt Financial Services and Capital Markets
About DataArt HR Partners
Event management в IT
Digital Marketing from inside
What's new in Android, Igor Malytsky ( Google Post I|O Tour)
DevOps Workshop:Что бывает, когда DevOps приходит на проект
IT Talk Kharkiv: «‎Soft skills в IT. Польза или вред? Максим Бастион, DataArt
«Ноль копеек. Спастись от выгорания» — Сергей Чеботарев (Head of Design, Han...
Communication in QA's life
Нельзя просто так взять и договориться, или как мы работали со сложными людьми
Знакомьтесь, DevOps
DevOps in real life
Codeless: автоматизация тестирования
Selenoid
Selenide
A. Sirota "Building an Automation Solution based on Appium"
Эмоциональный интеллект или как не сойти с ума в условиях сложного и динамичн...
IT talk: Как я перестал бояться и полюбил TestNG

Recently uploaded (20)

PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPTX
1. Introduction to Computer Programming.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Getting Started with Data Integration: FME Form 101
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
observCloud-Native Containerability and monitoring.pptx
PPTX
The various Industrial Revolutions .pptx
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPT
What is a Computer? Input Devices /output devices
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
Modernising the Digital Integration Hub
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
WOOl fibre morphology and structure.pdf for textiles
Final SEM Unit 1 for mit wpu at pune .pptx
1. Introduction to Computer Programming.pptx
A comparative study of natural language inference in Swahili using monolingua...
Developing a website for English-speaking practice to English as a foreign la...
Getting Started with Data Integration: FME Form 101
gpt5_lecture_notes_comprehensive_20250812015547.pdf
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
OMC Textile Division Presentation 2021.pptx
observCloud-Native Containerability and monitoring.pptx
The various Industrial Revolutions .pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
What is a Computer? Input Devices /output devices
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Enhancing emotion recognition model for a student engagement use case through...
Modernising the Digital Integration Hub
A novel scalable deep ensemble learning framework for big data classification...
NewMind AI Weekly Chronicles - August'25-Week II

Conversational UI: say HI To Dialogflow v2.0

  • 2. Conversational UI: Say Hi To Dialogflow
  • 3. Use Cases Informational – Chatbots for updating requests: • Weather information; • News updates…
  • 4. Use Cases Application – Chatbots for online services: • Book tickets; • Order food; • Manage bank account…
  • 5. Use Cases Internet of Things (IoT) – Chatbots for controlling devices: • Smart house; • Cars; • Wearables…
  • 6. Use Cases Enterprise – Chatbots for automation work activities: • Provide reports; • Check metrics…
  • 7. Google Assistant History: 2011 - Google was enhancing its product Google Voice Search for the next version of Android. 2012 - Google Now was unveiled as part of the premier demonstration of Android 4.1 Jelly Bean. 2016 - Assistant debuted as part of Google's messaging app Allo, and voice-activated speaker Google Home. 2017 - Assistant began to be deployed on other Android devices;
  • 11. History: 2011 - Speaktoit launched Assistant - an intelligent personal assistant application for mobile devices. 2014 - Speaktoit released API.AI - the voice-enabling engine for their Assistant application. 2016 - Google bought Speaktoit, and include API.AI into their infrastructure. 2017 - API.AI become Dialogflow.
  • 12. Features: -Build natural and rich conversational applications; -Use machine learning to understand what users are saying; -Integrations with numbers of platform (such as Google Assistant, Slack, Cortana, Alexa and Facebook Messenger); -Integrations with numbers of devices (wearables, phones, cars, speakers and other smart devices); -Multilanguage supporting.
  • 15. Intents An intent represents a mapping between what a user says and what action should be taken by your software. Events Events is a feature that allows you to invoke intents by an event name instead of a user query. Entities Used for extracting parameter values from natural language inputs.
  • 16. Actions and Parameters An action corresponds to the step your application will take when a specific intent has been triggered by a user’s input. Parameters are elements generally used to connect words in a user’s response, to entities. Contexts Contexts represent the current context of a user's request.
  • 17. Responses Agent’s responses which will be provided by application when the intent is triggered. Fulfillment (Webhook) Fulfillment allows to pass information from a matched intent into a web service and get a result from it.
  • 19. Cloud Functions for Firebase Cloud Functions for Firebase automatically runs backend code in response to events triggered by Firebase features and HTTPS requests. The code is stored in Google's cloud and runs in a managed environment. Firebase Realtime Database The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client.
  • 26. From GUI to CUI Write your core experiences like a screenplay. And then keep it at a high level, where the boxes represent entire dialogue or user intents.
  • 27. Booking an appointment screenplay User Talk to Booking Health Google Assistant Sure, here's Booking Health. Booking Health Hello and welcome to Booking Health. Would you like to book an appointment at your clinic? User Yes Booking Health Sure, let’s get started. First of all, please choose an appointment type. User Diabetic Booking Health There are several branches available in your practice. Please, pick your branch User Anchor Bankside Booking Health Here's a number of practitioners and time slots for you to pick from. Let's go and pick out of those available. User May 11th 2018, 1:20 pm Booking Health Awesome! Another great thing for you to do will be to add a reason for your visit User Yes Booking Health Ok, tell me please a few words about your visiting reasons. User I have a headache Booking Health So, you are going to book appointment in Anchor Bankside at May 11th 2018, 1:20 pm. Your practitioner will be Dr. Diana Kraning. And your reason is - headache. Should I book this appointment? User Book Booking Health Your appointment is now booked. If you need to book a new one, please, don't hesitate to do so. Have a great day!
  • 29. Booking an appointment Dialogflow & Fulfillment
  • 30. Source code and resources Project Actions on Google Dialogflow Cloud Functions for Firebase Firebase Realtime Database
  • 31. Thanks for your attention  Special thanks to Yekaterina Yevtushenko for her help with making dialogs more human. And Alexey Rozanov for his help with JS code review.