SlideShare une entreprise Scribd logo
1  sur  22
Télécharger pour lire hors ligne
Anatomy of a chatbot and building a
meaningful conversation
Upkar Lidder, IBM Developer Advocate
@lidderupk
https://www.linkedin.com/in/lidderupk/
ulidder@us.ibm.com
Watson Assistant
2
Meet Jill Watson – Georgia Tech (Fall 2015)
3
My First bot
- nodejs middleware
- botkit.js
https://github.com/howdyai/botkit
- slack frontend
4
Code Pattern - https://developer.ibm.com/code/patterns/
5
Code Pattern - https://developer.ibm.com/code/patterns/
6
Code Patterns !
7https://developer.ibm.com/patterns/category/conversation/
Cognitive banking chatbot
8
9
Code Pattern - https://developer.ibm.com/code/patterns/
10
Workspace
10
Collection of artifacts – Intents,
Entities and Dialogs
Build
Deploy
Improve / Metrics
11
Intents
11
An intent is the goal or purpose of the user's
input. Adding examples to intents helps your
virtual assistant understand different ways in
which people would say them.
Provide at least five examples for each intent.
12
Content Catalog
12
Get started faster by
adding existing intents
from the content catalog.
These intents are trained
on common questions that
users may ask.
13
Entities
13
An entity is a portion of the
user's input that you can
use to provide a different
response to a particular
intent. Adding values and
synonyms to entities helps
your virtual assistant learn
and understand important
details that your users
mention.
14
System Entities
System entities are
common entities
created by IBM that
could be used across
any use case. They are
ready to use as soon as
you add them.
15
Dialog
15
A dialog uses intents, entities, and context
from your application to define a response to
each user's input.
Creating a dialog defines how your virtual
assistant will respond to what your users are
saying.
16
Dialog
16
Dialog is processed by the
service from the first node in
the tree to the last.
If the service finds a
condition that is met, it
triggers that node.
It then moves along the
triggered node to check the
user input against any child
node conditions.
17
Slots
17
Add slots to a dialog node
to gather multiple pieces
of information from a user
within that node.
Slots collect information at
the users' pace. Details the
user provides upfront are
saved, and the service
asks only for the details
they do not.
18
Digressions
18
Use digressions to handle
interruptions and off topic
short conversations.
Digressions allow the user
to change topics or ask for
more information and
allows them to come back
to the original intent.
Example:
Make an appointment.
I need to talk to an agent.
What times are you open?
19
Handlers
19
Use handlers to
- Help the user response
to a slot.
- Configure individual
slots.
20
Some tips before you start
20
• Start on paper and have a conversation with a friend (discover intents, entities and create dialog).
• Don’t repeat yourself too many times - unless the information is absolutely necessary to meet the
goal or help the end user (slots).
• Keep it natural - let the users digress and come back to finish the current conversation (digressions).
• Give the users a way out ! (handlers)
• Remember details about the users (context)
• Forget details when the user starts again (empty out context)
• Confirm details in a natural way “I have booked a table for two at 7pm tonight”.
• Enable Fuzzy logic – beta feature
IBM Code SF – Upcoming Events
21DOC ID / September 13, 2018 / © 2018 IBM Corporation
THANK YOU
Upkar Lidder, IBM Developer Advocate
@lidderupk
https://www.linkedin.com/in/lidderupk/
ulidder@us.ibm.com
22

Contenu connexe

Similaire à XD Immersive: Upkar Lidder, "Anatomy of a Chatbot"

Chatbots Using GPT (Generative Pretrained Transformer)
Chatbots Using GPT (Generative Pretrained Transformer)Chatbots Using GPT (Generative Pretrained Transformer)
Chatbots Using GPT (Generative Pretrained Transformer)
Rodeker Davis
 
LangChain Intro by KeyMate.AI
LangChain Intro by KeyMate.AILangChain Intro by KeyMate.AI
LangChain Intro by KeyMate.AI
OzgurOscarOzkan
 

Similaire à XD Immersive: Upkar Lidder, "Anatomy of a Chatbot" (20)

Chatbots Using GPT (Generative Pretrained Transformer)
Chatbots Using GPT (Generative Pretrained Transformer)Chatbots Using GPT (Generative Pretrained Transformer)
Chatbots Using GPT (Generative Pretrained Transformer)
 
Chatbots for Brand Representation in Comparison with Traditional Websites
Chatbots for Brand Representation in Comparison with Traditional WebsitesChatbots for Brand Representation in Comparison with Traditional Websites
Chatbots for Brand Representation in Comparison with Traditional Websites
 
Using Generative AI in the Classroom .pptx
Using Generative AI in the Classroom .pptxUsing Generative AI in the Classroom .pptx
Using Generative AI in the Classroom .pptx
 
Workshop: Chatbot in a box - Introduction to conversation design and conducti...
Workshop: Chatbot in a box - Introduction to conversation design and conducti...Workshop: Chatbot in a box - Introduction to conversation design and conducti...
Workshop: Chatbot in a box - Introduction to conversation design and conducti...
 
Tips and Tricks lightning talk @ rego.act
Tips and Tricks lightning talk @ rego.actTips and Tricks lightning talk @ rego.act
Tips and Tricks lightning talk @ rego.act
 
Blockchain Experience Design Meetup #1
Blockchain Experience Design Meetup #1Blockchain Experience Design Meetup #1
Blockchain Experience Design Meetup #1
 
The Software Challenges of Building Smart Chatbots - ICSE'21
The Software Challenges of Building Smart Chatbots - ICSE'21The Software Challenges of Building Smart Chatbots - ICSE'21
The Software Challenges of Building Smart Chatbots - ICSE'21
 
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your QueriesExploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
Exploring ChatGPT Prompt Hacks To Maximally Optimise Your Queries
 
Will your intranet be replaced with a (chat) bot?
Will your intranet be replaced with a (chat) bot?Will your intranet be replaced with a (chat) bot?
Will your intranet be replaced with a (chat) bot?
 
Chatbot
ChatbotChatbot
Chatbot
 
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
 
SRE_Chatbot_workflow.pptx
SRE_Chatbot_workflow.pptxSRE_Chatbot_workflow.pptx
SRE_Chatbot_workflow.pptx
 
Realizing AI Conversational Bot
Realizing AI Conversational BotRealizing AI Conversational Bot
Realizing AI Conversational Bot
 
Creating UI Marketers Won't F*Up
Creating UI Marketers Won't F*UpCreating UI Marketers Won't F*Up
Creating UI Marketers Won't F*Up
 
AD - Developer communication and Technology
AD - Developer communication and TechnologyAD - Developer communication and Technology
AD - Developer communication and Technology
 
It's Better To Have a Permanent Income Than to Be Fascinating: Killer Feature...
It's Better To Have a Permanent Income Than to Be Fascinating: Killer Feature...It's Better To Have a Permanent Income Than to Be Fascinating: Killer Feature...
It's Better To Have a Permanent Income Than to Be Fascinating: Killer Feature...
 
IBM Watson Assistant - Build Chatbot and Deploy to Slack
IBM Watson Assistant - Build Chatbot and Deploy to SlackIBM Watson Assistant - Build Chatbot and Deploy to Slack
IBM Watson Assistant - Build Chatbot and Deploy to Slack
 
Furniture Online Ordering using Chatbot
Furniture Online Ordering using ChatbotFurniture Online Ordering using Chatbot
Furniture Online Ordering using Chatbot
 
Kamon Ayeva Antipatterns, Patterns, And Rules Of Thumb For Successful Plone...
Kamon Ayeva   Antipatterns, Patterns, And Rules Of Thumb For Successful Plone...Kamon Ayeva   Antipatterns, Patterns, And Rules Of Thumb For Successful Plone...
Kamon Ayeva Antipatterns, Patterns, And Rules Of Thumb For Successful Plone...
 
LangChain Intro by KeyMate.AI
LangChain Intro by KeyMate.AILangChain Intro by KeyMate.AI
LangChain Intro by KeyMate.AI
 

Plus de UX STRAT

Plus de UX STRAT (20)

UX STRAT Online 2021 Presentation by Sudha Jamthe
UX STRAT Online 2021 Presentation by Sudha JamtheUX STRAT Online 2021 Presentation by Sudha Jamthe
UX STRAT Online 2021 Presentation by Sudha Jamthe
 
UX STRAT Online 2021 Presentation by Jessa Parette, Capital One
UX STRAT Online 2021 Presentation by Jessa Parette, Capital OneUX STRAT Online 2021 Presentation by Jessa Parette, Capital One
UX STRAT Online 2021 Presentation by Jessa Parette, Capital One
 
UX STRAT Online 2021 Presentation by Rina Tambo Jensen
UX STRAT Online 2021 Presentation by Rina Tambo JensenUX STRAT Online 2021 Presentation by Rina Tambo Jensen
UX STRAT Online 2021 Presentation by Rina Tambo Jensen
 
UX STRAT Online 2021 Presentation by Gideon Simons, Zinier
UX STRAT Online 2021 Presentation by Gideon Simons, ZinierUX STRAT Online 2021 Presentation by Gideon Simons, Zinier
UX STRAT Online 2021 Presentation by Gideon Simons, Zinier
 
UX STRAT Online 2021 Presentation by Mike Kuniavsky, Accenture
UX STRAT Online 2021 Presentation by Mike Kuniavsky, AccentureUX STRAT Online 2021 Presentation by Mike Kuniavsky, Accenture
UX STRAT Online 2021 Presentation by Mike Kuniavsky, Accenture
 
UX STRAT Online 2021 Presentation by Carolyn Chang and Christine Liao of Link...
UX STRAT Online 2021 Presentation by Carolyn Chang and Christine Liao of Link...UX STRAT Online 2021 Presentation by Carolyn Chang and Christine Liao of Link...
UX STRAT Online 2021 Presentation by Carolyn Chang and Christine Liao of Link...
 
UX STRAT Online 2021 Presentation by Dr. Jofish Kaye, Anthem
UX STRAT Online 2021 Presentation by Dr. Jofish Kaye, AnthemUX STRAT Online 2021 Presentation by Dr. Jofish Kaye, Anthem
UX STRAT Online 2021 Presentation by Dr. Jofish Kaye, Anthem
 
UX STRAT Online 2021 Presentation by Carol Smith, Carnegie Mellon University
UX STRAT Online 2021 Presentation by Carol Smith, Carnegie Mellon UniversityUX STRAT Online 2021 Presentation by Carol Smith, Carnegie Mellon University
UX STRAT Online 2021 Presentation by Carol Smith, Carnegie Mellon University
 
UX STRAT Online 2021 Presentation by Dr. Hsien-Hui Tang and Michael T Lai
UX STRAT Online 2021 Presentation by Dr. Hsien-Hui Tang and Michael T LaiUX STRAT Online 2021 Presentation by Dr. Hsien-Hui Tang and Michael T Lai
UX STRAT Online 2021 Presentation by Dr. Hsien-Hui Tang and Michael T Lai
 
UX STRAT Online 2021 Presentation by Vikas Vaishnav Autodesk
UX STRAT Online 2021 Presentation by Vikas Vaishnav AutodeskUX STRAT Online 2021 Presentation by Vikas Vaishnav Autodesk
UX STRAT Online 2021 Presentation by Vikas Vaishnav Autodesk
 
UX STRAT Online 2021 Presentation by Paul-Jervis Heath, Modern Human
UX STRAT Online 2021 Presentation by Paul-Jervis Heath, Modern HumanUX STRAT Online 2021 Presentation by Paul-Jervis Heath, Modern Human
UX STRAT Online 2021 Presentation by Paul-Jervis Heath, Modern Human
 
UX STRAT Online 2021 Presentation by Jos-Marien Jansen, Philips
UX STRAT Online 2021 Presentation by Jos-Marien Jansen, PhilipsUX STRAT Online 2021 Presentation by Jos-Marien Jansen, Philips
UX STRAT Online 2021 Presentation by Jos-Marien Jansen, Philips
 
UX STRAT Online 2021 Presentation by Adilakshmi Veerubhotla, IBM
UX STRAT Online 2021 Presentation by Adilakshmi Veerubhotla, IBMUX STRAT Online 2021 Presentation by Adilakshmi Veerubhotla, IBM
UX STRAT Online 2021 Presentation by Adilakshmi Veerubhotla, IBM
 
UX STRAT Online 2021 Presentation by Nur Karadeniz, Publicis Sapient
UX STRAT Online 2021 Presentation by Nur Karadeniz, Publicis SapientUX STRAT Online 2021 Presentation by Nur Karadeniz, Publicis Sapient
UX STRAT Online 2021 Presentation by Nur Karadeniz, Publicis Sapient
 
UX STRAT Online 2021 Presentation by Remko Vermeulen, Koa Health
UX STRAT Online 2021 Presentation by Remko Vermeulen, Koa HealthUX STRAT Online 2021 Presentation by Remko Vermeulen, Koa Health
UX STRAT Online 2021 Presentation by Remko Vermeulen, Koa Health
 
UX STRAT Online 2021 Presentation by Maryna Razakhatskaya, Consultant
UX STRAT Online 2021 Presentation by Maryna Razakhatskaya, ConsultantUX STRAT Online 2021 Presentation by Maryna Razakhatskaya, Consultant
UX STRAT Online 2021 Presentation by Maryna Razakhatskaya, Consultant
 
UX STRAT Online 2021 Presentation by Josephine Scholtes, Microsoft
UX STRAT Online 2021 Presentation by Josephine Scholtes, MicrosoftUX STRAT Online 2021 Presentation by Josephine Scholtes, Microsoft
UX STRAT Online 2021 Presentation by Josephine Scholtes, Microsoft
 
UX STRAT Online 2021 Presentation by Sander Bogers, Philips
UX STRAT Online 2021 Presentation by Sander Bogers, PhilipsUX STRAT Online 2021 Presentation by Sander Bogers, Philips
UX STRAT Online 2021 Presentation by Sander Bogers, Philips
 
UX STRAT Online 2021 Presentation by Veena Sonwalkar, frog
UX STRAT Online 2021 Presentation by Veena Sonwalkar, frogUX STRAT Online 2021 Presentation by Veena Sonwalkar, frog
UX STRAT Online 2021 Presentation by Veena Sonwalkar, frog
 
UX STRAT Online 2021 Presentation by Angel Brown, Digitas Health
UX STRAT Online 2021 Presentation by Angel Brown, Digitas HealthUX STRAT Online 2021 Presentation by Angel Brown, Digitas Health
UX STRAT Online 2021 Presentation by Angel Brown, Digitas Health
 

Dernier

Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
home
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
amitlee9823
 
2-tool presenthdbdbdbdbddhdhddation.pptx
2-tool presenthdbdbdbdbddhdhddation.pptx2-tool presenthdbdbdbdbddhdhddation.pptx
2-tool presenthdbdbdbdbddhdhddation.pptx
suhanimunjal27
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
tbatkhuu1
 
B. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdfB. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdf
University of Wisconsin-Milwaukee
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
amitlee9823
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
amitlee9823
 
Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcd
shivubhavv
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
TusharBahuguna2
 

Dernier (20)

Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
 
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Nagavara ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
 
2-tool presenthdbdbdbdbddhdhddation.pptx
2-tool presenthdbdbdbdbddhdhddation.pptx2-tool presenthdbdbdbdbddhdhddation.pptx
2-tool presenthdbdbdbdbddhdhddation.pptx
 
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
💫✅jodhpur 24×7 BEST GENUINE PERSON LOW PRICE CALL GIRL SERVICE FULL SATISFACT...
 
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SER...
Call Girls Service Mukherjee Nagar @9999965857 Delhi 🫦 No Advance VVIP 🍎 SER...
 
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
Best VIP Call Girls Noida Sector 47 Call Me: 8448380779
 
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...Booking open Available Pune Call Girls Kirkatwadi  6297143586 Call Hot Indian...
Booking open Available Pune Call Girls Kirkatwadi 6297143586 Call Hot Indian...
 
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...Booking open Available Pune Call Girls Nanded City  6297143586 Call Hot India...
Booking open Available Pune Call Girls Nanded City 6297143586 Call Hot India...
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
 
B. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdfB. Smith. (Architectural Portfolio.).pdf
B. Smith. (Architectural Portfolio.).pdf
 
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
 
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Basavanagudi Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdfChapter 19_DDA_TOD Policy_First Draft 2012.pdf
Chapter 19_DDA_TOD Policy_First Draft 2012.pdf
 
DragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptxDragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptx
 
Government polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcdGovernment polytechnic college-1.pptxabcd
Government polytechnic college-1.pptxabcd
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
 

XD Immersive: Upkar Lidder, "Anatomy of a Chatbot"

  • 1. Anatomy of a chatbot and building a meaningful conversation Upkar Lidder, IBM Developer Advocate @lidderupk https://www.linkedin.com/in/lidderupk/ ulidder@us.ibm.com
  • 3. Meet Jill Watson – Georgia Tech (Fall 2015) 3
  • 4. My First bot - nodejs middleware - botkit.js https://github.com/howdyai/botkit - slack frontend 4
  • 5. Code Pattern - https://developer.ibm.com/code/patterns/ 5
  • 6. Code Pattern - https://developer.ibm.com/code/patterns/ 6
  • 9. 9 Code Pattern - https://developer.ibm.com/code/patterns/
  • 10. 10 Workspace 10 Collection of artifacts – Intents, Entities and Dialogs Build Deploy Improve / Metrics
  • 11. 11 Intents 11 An intent is the goal or purpose of the user's input. Adding examples to intents helps your virtual assistant understand different ways in which people would say them. Provide at least five examples for each intent.
  • 12. 12 Content Catalog 12 Get started faster by adding existing intents from the content catalog. These intents are trained on common questions that users may ask.
  • 13. 13 Entities 13 An entity is a portion of the user's input that you can use to provide a different response to a particular intent. Adding values and synonyms to entities helps your virtual assistant learn and understand important details that your users mention.
  • 14. 14 System Entities System entities are common entities created by IBM that could be used across any use case. They are ready to use as soon as you add them.
  • 15. 15 Dialog 15 A dialog uses intents, entities, and context from your application to define a response to each user's input. Creating a dialog defines how your virtual assistant will respond to what your users are saying.
  • 16. 16 Dialog 16 Dialog is processed by the service from the first node in the tree to the last. If the service finds a condition that is met, it triggers that node. It then moves along the triggered node to check the user input against any child node conditions.
  • 17. 17 Slots 17 Add slots to a dialog node to gather multiple pieces of information from a user within that node. Slots collect information at the users' pace. Details the user provides upfront are saved, and the service asks only for the details they do not.
  • 18. 18 Digressions 18 Use digressions to handle interruptions and off topic short conversations. Digressions allow the user to change topics or ask for more information and allows them to come back to the original intent. Example: Make an appointment. I need to talk to an agent. What times are you open?
  • 19. 19 Handlers 19 Use handlers to - Help the user response to a slot. - Configure individual slots.
  • 20. 20 Some tips before you start 20 • Start on paper and have a conversation with a friend (discover intents, entities and create dialog). • Don’t repeat yourself too many times - unless the information is absolutely necessary to meet the goal or help the end user (slots). • Keep it natural - let the users digress and come back to finish the current conversation (digressions). • Give the users a way out ! (handlers) • Remember details about the users (context) • Forget details when the user starts again (empty out context) • Confirm details in a natural way “I have booked a table for two at 7pm tonight”. • Enable Fuzzy logic – beta feature
  • 21. IBM Code SF – Upcoming Events 21DOC ID / September 13, 2018 / © 2018 IBM Corporation
  • 22. THANK YOU Upkar Lidder, IBM Developer Advocate @lidderupk https://www.linkedin.com/in/lidderupk/ ulidder@us.ibm.com 22