SlideShare a Scribd company logo
1 of 14
Adding intelligence and
knowledge base
Create, train, deploy NLP models with ease.
@Saelia
Typical Bot Architecture Diagram
Rule-Based Bots
AI-Based Bots
(uses NLP)
LUIS: Cognitive Services
L U I S
Cognitive Services: LUIS abstracts this into a training model
Machine learning and deep learning algorithms abstracted
Natural Language Processing (NLP)
Using artificial intelligence to process natural language
Extract Entities (items in the utterance that are of value)
Extract Intents (meaning of the utterance or phrase)
@Saelia
LUIS Demo
Create and train a language model
@Saelia
{
“entities”: [
{
“entity”: “2018”,
“type”: “year”
}
],
“intents”: [
{
“intent”: “GetSickDays”,
“score”: 0.99853384
},
{
“intent”: “None”,
“score”: 0.07289317
},
{
“intent”: “GetVacationDays”,
“score”: 0.0167122427
},
{
“intent”: “GetPersonalDays”,
“score”: 1.0919299E-06
}
]
}
“How many sick
days do I have in
2018?”
Language Understanding Models
Language Understanding Models
@Saelia
LUIS in the code: app.js
Reduce labeling effort with interactive featuring
Seamless integration to Speech API
Deploy using just a few examples with active learning
Supports 5 languages (English, Chinese, Italian, French, Spanish)
Language Understanding Models
Bot Guidelines
1. Focus on real user needs
2. Make things discoverable
3. Teach people what they can do
4. Respect privacy
5. Make it easy to interact
6. Display output in an effective manner
7. Consider your bot’s personality
8. Take context into account
9. Encourage ongoing engagement
@Saelia
In review: session objectives and takeaways
Session objectives:
Understand how to design more engaging and usable chat bots
Incorporate bot user experience design principles into my customer projects
Design Bot conversations and personality so they deliver a great user
experience
Adhering to these principles will improve your
user experience and create greater engagement.
@Saelia
Calls to Action:
Steps: github.com/KSLHacks/BotScheduleDemo
Demo: Creating Bots in the Microsoft Bot Framework using Node.js MVA
Sample: GitHub Microsoft BotBuilder: Node examples basics-naturalLanguage/app.js
BotBuilder-Samples / Node / intelligence-LUIS
Slides: SlideShare.net/SarahSexton3
Docs: docs.botframework.com | luis.ai/home
Sarah Sexton
Technical Evangelist | Commercial Software Engineering
@Saelia
Build with Microsoft Tech
Explore developer tools, platforms, and API’s
docs.microsoft.com
@Saelia

More Related Content

Similar to Implementing LUIS in Node.js

VR/AR + xAPI: Tracking Next-Gen Learning
VR/AR + xAPI: Tracking Next-Gen LearningVR/AR + xAPI: Tracking Next-Gen Learning
VR/AR + xAPI: Tracking Next-Gen LearningMargaret Roth
 
Cognitive Search: Announcing the smartest enterprise search engine, now with ...
Cognitive Search: Announcing the smartest enterprise search engine, now with ...Cognitive Search: Announcing the smartest enterprise search engine, now with ...
Cognitive Search: Announcing the smartest enterprise search engine, now with ...Microsoft Tech Community
 
Azure Cognitive Services로 똑똑한 서비스 만들
Azure Cognitive Services로 똑똑한 서비스 만들Azure Cognitive Services로 똑똑한 서비스 만들
Azure Cognitive Services로 똑똑한 서비스 만들Hong Min Kim
 
ai_pptIntroduction to AI tools , NLP.pptx
ai_pptIntroduction to AI tools , NLP.pptxai_pptIntroduction to AI tools , NLP.pptx
ai_pptIntroduction to AI tools , NLP.pptxanushya2915
 
be10x - AI Tools Mastery Program (2) (4) (1) (1).pdf
be10x - AI Tools Mastery Program (2) (4) (1) (1).pdfbe10x - AI Tools Mastery Program (2) (4) (1) (1).pdf
be10x - AI Tools Mastery Program (2) (4) (1) (1).pdfNeelimaMeermira2
 
FraserHacks Microsoft Cognitive Services and Hololens
FraserHacks Microsoft Cognitive Services and HololensFraserHacks Microsoft Cognitive Services and Hololens
FraserHacks Microsoft Cognitive Services and HololensBruno Capuano
 
Data Science Highlights
Data Science Highlights Data Science Highlights
Data Science Highlights Joe Lamantia
 
Mobile & Cognitive Services | Harnessing the Power of IoT – Xamarin Experienc...
Mobile & Cognitive Services | Harnessing the Power of IoT – Xamarin Experienc...Mobile & Cognitive Services | Harnessing the Power of IoT – Xamarin Experienc...
Mobile & Cognitive Services | Harnessing the Power of IoT – Xamarin Experienc...Xpand IT
 
2018 02 23 Hack the Valley II - Cognitive Services
2018 02 23 Hack the Valley II - Cognitive Services2018 02 23 Hack the Valley II - Cognitive Services
2018 02 23 Hack the Valley II - Cognitive ServicesBruno Capuano
 
[DSC Europe 22] Next-Wave of Value – Operating Model for Scaling Data Science...
[DSC Europe 22] Next-Wave of Value – Operating Model for Scaling Data Science...[DSC Europe 22] Next-Wave of Value – Operating Model for Scaling Data Science...
[DSC Europe 22] Next-Wave of Value – Operating Model for Scaling Data Science...DataScienceConferenc1
 
IIPGH Webinar 1: Getting Started With Data Science
IIPGH Webinar 1: Getting Started With Data ScienceIIPGH Webinar 1: Getting Started With Data Science
IIPGH Webinar 1: Getting Started With Data Scienceds4good
 
How to Build an AI System A Complete Guide.pdf
How to Build an AI System A Complete Guide.pdfHow to Build an AI System A Complete Guide.pdf
How to Build an AI System A Complete Guide.pdfLaura Miller
 
How to Build an AI System A Complete Guide.pdf
How to Build an AI System A Complete Guide.pdfHow to Build an AI System A Complete Guide.pdf
How to Build an AI System A Complete Guide.pdfLaura Miller
 
H2O Driverless AI Workshop
H2O Driverless AI WorkshopH2O Driverless AI Workshop
H2O Driverless AI WorkshopSri Ambati
 
How to choose the right AI model for your application?
How to choose the right AI model for your application?How to choose the right AI model for your application?
How to choose the right AI model for your application?Benjaminlapid1
 
Discover AI with Microsoft Azure
Discover AI with Microsoft AzureDiscover AI with Microsoft Azure
Discover AI with Microsoft AzureJürgen Ambrosi
 
CBITSS - Empowering Tomorrow's Tech Leaders Today.pptx
CBITSS - Empowering Tomorrow's Tech Leaders Today.pptxCBITSS - Empowering Tomorrow's Tech Leaders Today.pptx
CBITSS - Empowering Tomorrow's Tech Leaders Today.pptxCbitss Technologies
 

Similar to Implementing LUIS in Node.js (20)

VR/AR + xAPI: Tracking Next-Gen Learning
VR/AR + xAPI: Tracking Next-Gen LearningVR/AR + xAPI: Tracking Next-Gen Learning
VR/AR + xAPI: Tracking Next-Gen Learning
 
Cognitive Search: Announcing the smartest enterprise search engine, now with ...
Cognitive Search: Announcing the smartest enterprise search engine, now with ...Cognitive Search: Announcing the smartest enterprise search engine, now with ...
Cognitive Search: Announcing the smartest enterprise search engine, now with ...
 
Azure Cognitive Services로 똑똑한 서비스 만들
Azure Cognitive Services로 똑똑한 서비스 만들Azure Cognitive Services로 똑똑한 서비스 만들
Azure Cognitive Services로 똑똑한 서비스 만들
 
ai_pptIntroduction to AI tools , NLP.pptx
ai_pptIntroduction to AI tools , NLP.pptxai_pptIntroduction to AI tools , NLP.pptx
ai_pptIntroduction to AI tools , NLP.pptx
 
be10x - AI Tools Mastery Program (2) (4) (1) (1).pdf
be10x - AI Tools Mastery Program (2) (4) (1) (1).pdfbe10x - AI Tools Mastery Program (2) (4) (1) (1).pdf
be10x - AI Tools Mastery Program (2) (4) (1) (1).pdf
 
FraserHacks Microsoft Cognitive Services and Hololens
FraserHacks Microsoft Cognitive Services and HololensFraserHacks Microsoft Cognitive Services and Hololens
FraserHacks Microsoft Cognitive Services and Hololens
 
Data Science Highlights
Data Science Highlights Data Science Highlights
Data Science Highlights
 
Mobile & Cognitive Services | Harnessing the Power of IoT – Xamarin Experienc...
Mobile & Cognitive Services | Harnessing the Power of IoT – Xamarin Experienc...Mobile & Cognitive Services | Harnessing the Power of IoT – Xamarin Experienc...
Mobile & Cognitive Services | Harnessing the Power of IoT – Xamarin Experienc...
 
2018 02 23 Hack the Valley II - Cognitive Services
2018 02 23 Hack the Valley II - Cognitive Services2018 02 23 Hack the Valley II - Cognitive Services
2018 02 23 Hack the Valley II - Cognitive Services
 
Are API Services Taking Over All the Interesting Data Science Problems?
Are API Services Taking Over All the Interesting Data Science Problems?Are API Services Taking Over All the Interesting Data Science Problems?
Are API Services Taking Over All the Interesting Data Science Problems?
 
[DSC Europe 22] Next-Wave of Value – Operating Model for Scaling Data Science...
[DSC Europe 22] Next-Wave of Value – Operating Model for Scaling Data Science...[DSC Europe 22] Next-Wave of Value – Operating Model for Scaling Data Science...
[DSC Europe 22] Next-Wave of Value – Operating Model for Scaling Data Science...
 
IIPGH Webinar 1: Getting Started With Data Science
IIPGH Webinar 1: Getting Started With Data ScienceIIPGH Webinar 1: Getting Started With Data Science
IIPGH Webinar 1: Getting Started With Data Science
 
Biznetyx Presentation
Biznetyx PresentationBiznetyx Presentation
Biznetyx Presentation
 
How to Build an AI System A Complete Guide.pdf
How to Build an AI System A Complete Guide.pdfHow to Build an AI System A Complete Guide.pdf
How to Build an AI System A Complete Guide.pdf
 
How to Build an AI System A Complete Guide.pdf
How to Build an AI System A Complete Guide.pdfHow to Build an AI System A Complete Guide.pdf
How to Build an AI System A Complete Guide.pdf
 
H2O Driverless AI Workshop
H2O Driverless AI WorkshopH2O Driverless AI Workshop
H2O Driverless AI Workshop
 
How to choose the right AI model for your application?
How to choose the right AI model for your application?How to choose the right AI model for your application?
How to choose the right AI model for your application?
 
Discover AI with Microsoft Azure
Discover AI with Microsoft AzureDiscover AI with Microsoft Azure
Discover AI with Microsoft Azure
 
CBITSS - Empowering Tomorrow's Tech Leaders Today.pptx
CBITSS - Empowering Tomorrow's Tech Leaders Today.pptxCBITSS - Empowering Tomorrow's Tech Leaders Today.pptx
CBITSS - Empowering Tomorrow's Tech Leaders Today.pptx
 
Deepesh_Resume
Deepesh_ResumeDeepesh_Resume
Deepesh_Resume
 

More from Sarah Sexton

HoloLens Unity Build Pipelines on Azure DevOps
HoloLens Unity Build Pipelines on Azure DevOpsHoloLens Unity Build Pipelines on Azure DevOps
HoloLens Unity Build Pipelines on Azure DevOpsSarah Sexton
 
A Whirlwind Tour of Recurrent Neural Networks
A Whirlwind Tour of Recurrent Neural NetworksA Whirlwind Tour of Recurrent Neural Networks
A Whirlwind Tour of Recurrent Neural NetworksSarah Sexton
 
Recurrent Neural Networks (RNN)
Recurrent Neural Networks (RNN)Recurrent Neural Networks (RNN)
Recurrent Neural Networks (RNN)Sarah Sexton
 
Developing for Consoles as an Indie in 2018
Developing for Consoles as an Indie in 2018Developing for Consoles as an Indie in 2018
Developing for Consoles as an Indie in 2018Sarah Sexton
 
Code camp HoloLens Build and Deploy
Code camp HoloLens Build and DeployCode camp HoloLens Build and Deploy
Code camp HoloLens Build and DeploySarah Sexton
 
How to Build and Deploy to HoloLens
How to Build and Deploy to HoloLensHow to Build and Deploy to HoloLens
How to Build and Deploy to HoloLensSarah Sexton
 
Breaking into Bots
Breaking into BotsBreaking into Bots
Breaking into BotsSarah Sexton
 
Getting Started with Microsoft Bot Framework
Getting Started with Microsoft Bot FrameworkGetting Started with Microsoft Bot Framework
Getting Started with Microsoft Bot FrameworkSarah Sexton
 
Word Play in the Digital Age: Building Text Bots with Tracery
Word Play in the Digital Age: Building Text Bots with TraceryWord Play in the Digital Age: Building Text Bots with Tracery
Word Play in the Digital Age: Building Text Bots with TracerySarah Sexton
 
Video game development for everybody
Video game development for everybodyVideo game development for everybody
Video game development for everybodySarah Sexton
 
Introduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameIntroduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameSarah Sexton
 
Building Your First Node.js App and Publishing to Azure
Building Your First Node.js App and Publishing to AzureBuilding Your First Node.js App and Publishing to Azure
Building Your First Node.js App and Publishing to AzureSarah Sexton
 
New High Score! Leaderboards in the Cloud
New High Score! Leaderboards in the CloudNew High Score! Leaderboards in the Cloud
New High Score! Leaderboards in the CloudSarah Sexton
 
Developing for Consoles as an Indie in 2015
Developing for Consoles as an Indie in 2015Developing for Consoles as an Indie in 2015
Developing for Consoles as an Indie in 2015Sarah Sexton
 

More from Sarah Sexton (15)

HoloLens Unity Build Pipelines on Azure DevOps
HoloLens Unity Build Pipelines on Azure DevOpsHoloLens Unity Build Pipelines on Azure DevOps
HoloLens Unity Build Pipelines on Azure DevOps
 
A Whirlwind Tour of Recurrent Neural Networks
A Whirlwind Tour of Recurrent Neural NetworksA Whirlwind Tour of Recurrent Neural Networks
A Whirlwind Tour of Recurrent Neural Networks
 
Recurrent Neural Networks (RNN)
Recurrent Neural Networks (RNN)Recurrent Neural Networks (RNN)
Recurrent Neural Networks (RNN)
 
Developing for Consoles as an Indie in 2018
Developing for Consoles as an Indie in 2018Developing for Consoles as an Indie in 2018
Developing for Consoles as an Indie in 2018
 
Mixed Reality
Mixed RealityMixed Reality
Mixed Reality
 
Code camp HoloLens Build and Deploy
Code camp HoloLens Build and DeployCode camp HoloLens Build and Deploy
Code camp HoloLens Build and Deploy
 
How to Build and Deploy to HoloLens
How to Build and Deploy to HoloLensHow to Build and Deploy to HoloLens
How to Build and Deploy to HoloLens
 
Breaking into Bots
Breaking into BotsBreaking into Bots
Breaking into Bots
 
Getting Started with Microsoft Bot Framework
Getting Started with Microsoft Bot FrameworkGetting Started with Microsoft Bot Framework
Getting Started with Microsoft Bot Framework
 
Word Play in the Digital Age: Building Text Bots with Tracery
Word Play in the Digital Age: Building Text Bots with TraceryWord Play in the Digital Age: Building Text Bots with Tracery
Word Play in the Digital Age: Building Text Bots with Tracery
 
Video game development for everybody
Video game development for everybodyVideo game development for everybody
Video game development for everybody
 
Introduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameIntroduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First Game
 
Building Your First Node.js App and Publishing to Azure
Building Your First Node.js App and Publishing to AzureBuilding Your First Node.js App and Publishing to Azure
Building Your First Node.js App and Publishing to Azure
 
New High Score! Leaderboards in the Cloud
New High Score! Leaderboards in the CloudNew High Score! Leaderboards in the Cloud
New High Score! Leaderboards in the Cloud
 
Developing for Consoles as an Indie in 2015
Developing for Consoles as an Indie in 2015Developing for Consoles as an Indie in 2015
Developing for Consoles as an Indie in 2015
 

Recently uploaded

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

Implementing LUIS in Node.js

  • 1.
  • 2. Adding intelligence and knowledge base Create, train, deploy NLP models with ease. @Saelia
  • 5. LUIS: Cognitive Services L U I S Cognitive Services: LUIS abstracts this into a training model Machine learning and deep learning algorithms abstracted Natural Language Processing (NLP) Using artificial intelligence to process natural language Extract Entities (items in the utterance that are of value) Extract Intents (meaning of the utterance or phrase) @Saelia
  • 6. LUIS Demo Create and train a language model @Saelia
  • 7. { “entities”: [ { “entity”: “2018”, “type”: “year” } ], “intents”: [ { “intent”: “GetSickDays”, “score”: 0.99853384 }, { “intent”: “None”, “score”: 0.07289317 }, { “intent”: “GetVacationDays”, “score”: 0.0167122427 }, { “intent”: “GetPersonalDays”, “score”: 1.0919299E-06 } ] } “How many sick days do I have in 2018?” Language Understanding Models
  • 9. LUIS in the code: app.js
  • 10. Reduce labeling effort with interactive featuring Seamless integration to Speech API Deploy using just a few examples with active learning Supports 5 languages (English, Chinese, Italian, French, Spanish) Language Understanding Models
  • 11. Bot Guidelines 1. Focus on real user needs 2. Make things discoverable 3. Teach people what they can do 4. Respect privacy 5. Make it easy to interact 6. Display output in an effective manner 7. Consider your bot’s personality 8. Take context into account 9. Encourage ongoing engagement @Saelia
  • 12. In review: session objectives and takeaways Session objectives: Understand how to design more engaging and usable chat bots Incorporate bot user experience design principles into my customer projects Design Bot conversations and personality so they deliver a great user experience Adhering to these principles will improve your user experience and create greater engagement. @Saelia
  • 13. Calls to Action: Steps: github.com/KSLHacks/BotScheduleDemo Demo: Creating Bots in the Microsoft Bot Framework using Node.js MVA Sample: GitHub Microsoft BotBuilder: Node examples basics-naturalLanguage/app.js BotBuilder-Samples / Node / intelligence-LUIS Slides: SlideShare.net/SarahSexton3 Docs: docs.botframework.com | luis.ai/home Sarah Sexton Technical Evangelist | Commercial Software Engineering @Saelia
  • 14. Build with Microsoft Tech Explore developer tools, platforms, and API’s docs.microsoft.com @Saelia

Editor's Notes

  1. Hello and welcome. My name is Sarah, Technical Evangelist with Microsoft.  Smart bots provide an amazing opportunity to generate lively, adaptive interfaces in the channels where your users are talking. In this presentation, we will kickstart a Node.js bot from Simple to Smart by integrating LUIS and creating meaningful conversations.
  2. Connector to Platform Channels One Bot : Many Channels and endpoints Why restrict yourself to one platform? Hit them all Session data on the user – remember who they are
  3. There are two ways that bots work under the hood. There are RULE-BASED BOTS., programed with conditions in an “if this then that” sort of way. OR, they use Artificial Intelligence, primarily Natural Language Processing, to function. First, let’s go through how RULE-BASED BOTS work. Rule based bots work by offering you multiple choice options. They do not understand language, and get stuck if you give an answer that is not part of their repository. These bots respond to commands that you are expecting the user to say – but only one explicit string of text. Then the bot goes in and parses the string that the user has given us to try and look for the additional information. If the bot doesn’t see it, maybe it could then start prompting the user.  Now let’s talk about ai-based bots. AI based bots are smarter than rule based bots. They understand the context and intent of user. The artificial intelligence bots in the market today actually use a subset of AI, called natural language processing (NLP). They get involved in the conversation and pick up keywords and phrases from the user’s requirement. An ai-based bot would not get stuck if the user responded with ‘yeah’ instead of ‘yes,’ unlike a rule-based bot. Now, trying to do that type of processing is very very hard, and it might take you YEARS to reinvent the wheel and build your own natural language processing system. The good news is you DON’T have to do that!
  4. At Microsoft we offer this tool called LUIS: the “Language Understanding Intelligence Service.” Wouldn’t it be nice if I could talk to it in a natural way of speaking – the same way that I would I would talk to a friend? Essentially what you do with LUIS is you train it with a bunch of example messages –messages that a user might actually say– and then you identify entities and intents of those messages. When I say entities, I mean the nouns in those messages, the things that you're dealing with and the things that you have to react to. And the intents are the verb of the whole message. What do you want the whole message to do? And now you can train this through a graphical user interfaces that we have online at luis.ai. You can also do it programmatically through an API. It's got some built in intent handling in the Bot Framework. Within the Bot Framework you can basically write some logic that says, “hey, if I've mapped to this LUIS intent, then go ahead and execute this code.” It's a lot of fun to use, so instead of just talking about it, I like to give a demo and actually dive into what LUIS looks like and what training a model actually looks like.
  5. LUIS.ai: Training a LUIS model in the GUI web application. One of the first thing’s you’ll notice is that you can enter an utterance here. An utterance is an example message from the user. You’ve also got Intents and Entities off to the side. Create a new intent: a thing that you want the bot to go ahead and do. Intent = verb. That trains for model with one datapoint of data. Entity = noun.
  6. So now you’ve seen how we train our model. Now let’s take a look at how we handle it in code. What I’ll show you now is a fully built little Node.js bot. I want to kickstart this bot from Simple to Smart by integrating LUIS.
  7. If I compared the code side-by-side of this web chat bot WITH and WITHOUT luis, you would notice one of the first differences in adding LUIS to the code is grabbing the URL for my LUIS model. Naturally, I have to put that inside an environmental variable to keep it secret keep it safe, because it does contain a key that could be used by anyone who saw your code on GitHub if you uploaded it unprotected, so please take precautions to treat that LUIS URL like you would any other secure token of information. On the next line, we’re going to create a recognizer. With LUIS what we do is send it a bit of information, let it figure out the intent (verb), let it figure out those entities (nouns), which will then allow it to recognize what the user is trying to do. This LUIS recognizer is built into the framework. Then I pass in the model URL. On the next line, I want you to notice that when I go to build up a dialog object, rather than adding these into the bot individually, I’m going to create a FULL DIALOG OBJECT that fully encompasses all of the recognizers.