Let’s talk about
Using DialogFlow
About me
Sergi Martínez@sergiandreplace
Android GDE & dev at Schibsted Spain
Introducing DialogFlowFKA api.ai
What we want to achieve?
AgentBasically, a DialogFlow application
IntentA mapping between what user says and the
action to take
IntentUser says Intent Parameters
Hello Salute
I want to know how tall is Darth Vader
Get Darth Vader Height
I want to talk about Darth Vader
Set character Character = Darth Vader
I want to know how tall is Darth Vader
Get Height Character = Darth Vader
I want to talk about Darth VaderHow tall is he?
Set character
Get Height
Character = Darth Vader
Character = Darth Vader
What happens if we want more characters?
Entities are a set of terms that can be identified as parameter
Creating a character entity
Using entities on intents
Context is the information transported during the
conversation
Input contextVs
Output context
Adding intelligence
Webhook implementation
In Node JS
https://github.com/sergiandreplace/swbothook-node
In Java
https://github.com/sergiandreplace/swbothook
AdviceUse ngrok & Postman