SlideShare uma empresa Scribd logo
1 de 48
#gib2018
2018 - Brisbane
GLOBAL INTEGRATION
BOOTCAMP
Dan Toomey | Mexia
LUIS and Bots
Dan Toomey
• Principal Consultant, Mexia
• Microsoft Azure MVP
• MCSE, MCT, MCPD, MCTS BizTalk & Azure
• Pluralsight Author
• www.mindovermessaging.com
• @daniel2me
Who Am I?
Acknowledgements
Kent Weare
Principal Program Manager – Microsoft Flow
Give your Bots connectivity, with Azure Logic Apps and
Microsoft Flow
Acknowledgements
Eldert Grootenboer
Integration Architect – Motion 10
Microsoft Azure MVP
Using Azure to Build Intelligent Bots
ALSO:
https://github.com/AzureCAT-GSI/DevCamp
Bots
Rise of the Cognitive Assistant
Assistants are being
embedded
everywhere; are
increasing ability to
solve problems.
As computing
advances, so will
Virtual Assistant
ability to help in
task completion.
Virtual Assistants
ability to be “smart”,
and to understand
intent, tone, and
context.
Market demand for
meaningful, stateful
and goal oriented
conversations.
BOTS – The HypeBots are the new Apps
Bots are gaining in Popularity for Good Reason
- Statista 2017
Most popular mobile messaging
apps worldwide - January 2017
Monthly Active Users
What is a Bot ?
Microsoft
Cognitive
Services
Give your apps
a human side
Language Understanding Intelligence Service (LUIS)
A Microsoft Cognitive Service that provides developers with an easy way to create language
models to allow applications to understand user commands.
Create your own
LU model
Train by providing examples
Deploy to an HTTP endpoint
and activate on any device
Maintain model with ease
LUIS
Language understanding in human-computer interaction is:
Technically
challenging
It’s exceedingly difficult to enable a
computer to understand what a
person wants and to find the pieces
of information that are relevant to
their intent.
Costly
to implement
Building and maintaining machine
learning systems requires a large
investment of time, money and
engineering resources
Often
domain specific
In the past, building your own
machine learned models often
required assistance of a team of
data scientists that would customize
the models to the specific domain.
Quick Start
LUIS
Quick Start – Pre Built Entities
Improved number, unit, money and
date/times
“From May 1st to May 5th”
“I want to fly from SEA to AMS next
Tuesday and leave after 5 days”
Age Dimension Email
Encyclopedia Geography Money
Number Ordinal Percentage
Phone
number (US)
Temperature URL
Entity Recognizers
https://github.com/Microsoft/Recognizers-Text
Intents and Utterances Example
Building a Bot…
Many different types of Bots
Procedural Bots
• Prescribed menu
• Little agility for end
users
Contextual Bots
• Less rigid
• Users have intents
and issue utterances
• Bot interprets
meaning and acts
Event driven Bots
• Users subscribe to
events
• Are notified when
event fires
Robotic Process
Automation (RPA)
• Automation
achieved through
GUI integration
• Macro driven
Dialog
[Serializable]
public class EchoDialog : IDialog<object>
{
public async Task StartAsync(IDialogContext context)
{
context.Wait(MessageReceivedAsync);
}
public async Task MessageReceivedAsync(IDialogContext context,
IAwaitable<IMessageActivity> argument)
{
var message = await argument;
await context.PostAsync("You said: " + message.Text);
context.Wait(MessageReceivedAsync);
}
}
FormFlow
public string NameOfVessel;
[Numeric(1000000, 9999999)]
[Prompt("Please enter your {&}")]
public int OfficialVesselNumber;
[Pattern(@"^(?:+d{1,3}|0d{1,3}|00d{1,2})?(?:s?(d+))?(?:[-/s.]|d)+$")]
public string PhoneNumber;
[Numeric(2, 20)]
[Prompt("Please enter the {&}")]
public int NumberOfPeopleOnBoard;
public Cargo? PreviousCargo;
public static IForm<ShipRegistrationDialog> BuildForm()
{
return new FormBuilder<ShipRegistrationDialog>().Message("Welcome to Rotterdam Tank
Terminals").OnCompletion(StartStoreRegistration).Build();
}
Design Principles – First Interaction
Design Principles – Dialog Flow
Design Principles – Navigation
Design Principles – Navigation
Design Principles – Natural Language
My Org Bot – Vacation Reporting
Bot Creator Personas
Azure Logic Apps
BOT Framework
Pro Integrator
Sandra
• Works in IT as a developer
• Codes in Visual Studio
• Builds custom solutions
• Azure Portal is her Happy Place
• Loves building APIs
• Azure Functions FTW!
Stuart
• Works in HR as an HRIS Analyst
• Has some technical training
• Excel and SharePoint are his JAM!
• Is under constant pressure to do more
• Doesn’t have Azure Portal access
• Administrates SaaS solutions like
Workday, SuccessFactors, Taleo
Citizen Integrator
Microsoft Flow
Bizzy (H3 Solutions)
Ad-hoc Integrator
Sam
• In IT, Service Desk Supervisor
• Can script in PowerShell
• Looking to reduce costs in
providing IT Service
Management
• Administrates ServiceNow
• Persona may include IT Pro/BA
Microsoft Flow
Azure Logic Apps
Building a Bot - Process
Pro Integrator
Traders/Investors
QuadrigaCX
Exchange
Trading BOT
A
P
I
G
A
T
E
W
A
Y
LUIS
Azure SQL
Intents
Utterances
Entities
Building a Bot - Process
• Define LUIS Intents and Entities
https://www.luis.ai/
Building a Bot - Process
• Define LUIS Intents and Entities
• Download Bot Framework Templates and
Emulator
Building a Bot - Process
• Define LUIS Intents and Entities
• Download Bot Framework Templates and
Emulator
• Build Controllers, Models and Prompts
Building a Bot - Process
• Define LUIS Intents and Entities
• Download Bot Framework Templates and
Emulator
• Build Controllers, Models and Prompts
• Build your Logic Apps
Building a Bot - Process
• Define LUIS Intents and Entities
• Download Bot Framework Templates
and Emulator
• Build Controllers, Models and Prompts
• Build your Logic Apps
• Protect your Logic Apps with API
Management
• Apply additional Policies
Building a Bot - Process
• Define LUIS Intents and Entities
• Download Bot Framework Templates
and Emulator
• Build Controllers, Models and Prompts
• Build your Logic Apps
• Protect your Logic Apps with API
Management
• Test locally with Emulator
Building a Bot - Process
• Define LUIS Intents and Entities
• Download Bot Framework Templates and
Emulator
• Build Controllers, Models and Prompts
• Build your Logic Apps
• Protect your API with API Management
• Test locally with Emulator
• Publish to Azure App Service
Building a Bot - Process
• Define LUIS Intents and Entities
• Download Bot Framework Templates and
Emulator
• Build Controllers, Models and Prompts
• Build your Logic Apps
• Protect your Logic Apps with API
Management
• Test locally with Emulator
• Publish to Azure App Service
• Register and Connect Bot
Building a Bot - Process
Citizen Integrator
Employees
HR Bot – Update Demographic Data
Workday
Connector
Workday
Building a Bot - Process
Ad-hoc Integrator
Access Management Bot
Employees
Grow up to Logic Apps
• “No Cliffs” across Flow and Logic Apps
• Flow is good for simple integrations and
empowering users to do integrations
without going through development
teams in IT
• However, sometimes IT / devs need to
take over when the Flow gets too
advanced
• Flows can be converted to a Logic App
Microsoft Flow
https://flow.microsoft.com – Do you have Office 365?...You then have Flow.
Azure Logic Apps
https://azure.microsoft.com/en-us/services/logic-apps/
Microsoft Research Cognitive Services YouTube Channel
http://tinyurl.com/hob5zjp
Bizzy – The Enterprise Bot
https://getbizzy.io
Resources
GLOBAL INTEGRATION
BOOTCAMP
Lab #2
Creating a Smart Expense Claim Bot Using Flow & Bizzy
Lab #2 Prerequisites
Azure Subscription
Office 365 with SharePoint Online
(TRIAL: https://signup.microsoft.com/signup)
Azure Storage Explorer (http://storageexplorer.com)
Lab #2 Steps
Microsoft Ignite
GLOBAL INTEGRATION
BOOTCAMP
ready...set…GO!!

Mais conteúdo relacionado

Mais procurados

Microsoft Teams
Microsoft TeamsMicrosoft Teams
Microsoft Teams
David J Rosenthal
 

Mais procurados (20)

Culture Code LinkApi Solutions
Culture Code LinkApi SolutionsCulture Code LinkApi Solutions
Culture Code LinkApi Solutions
 
Power Automate
Power AutomatePower Automate
Power Automate
 
Microservices architecture overview v3
Microservices architecture overview v3Microservices architecture overview v3
Microservices architecture overview v3
 
Integrating with salesforce using platform events
Integrating with salesforce using platform eventsIntegrating with salesforce using platform events
Integrating with salesforce using platform events
 
Apache Kafka Architecture & Fundamentals Explained
Apache Kafka Architecture & Fundamentals ExplainedApache Kafka Architecture & Fundamentals Explained
Apache Kafka Architecture & Fundamentals Explained
 
Microservice Architecture 101
Microservice Architecture 101Microservice Architecture 101
Microservice Architecture 101
 
Office 365 Presentation - Renato Civili, Infosoft Systems
Office 365 Presentation - Renato Civili, Infosoft SystemsOffice 365 Presentation - Renato Civili, Infosoft Systems
Office 365 Presentation - Renato Civili, Infosoft Systems
 
20201107 Putting the DEV in Citizen DEVeloper with the Microsoft Power Platform
20201107 Putting the DEV in Citizen DEVeloper with the Microsoft Power Platform20201107 Putting the DEV in Citizen DEVeloper with the Microsoft Power Platform
20201107 Putting the DEV in Citizen DEVeloper with the Microsoft Power Platform
 
Distributed stream processing with Apache Kafka
Distributed stream processing with Apache KafkaDistributed stream processing with Apache Kafka
Distributed stream processing with Apache Kafka
 
Workflow Automation with Logic Apps
Workflow Automation with Logic AppsWorkflow Automation with Logic Apps
Workflow Automation with Logic Apps
 
How to use microsoft teams
How to use microsoft teamsHow to use microsoft teams
How to use microsoft teams
 
Microservice Architecture
Microservice ArchitectureMicroservice Architecture
Microservice Architecture
 
Office 365
Office 365Office 365
Office 365
 
Temporal-Joins in Kafka Streams and ksqlDB | Matthias Sax, Confluent
Temporal-Joins in Kafka Streams and ksqlDB | Matthias Sax, ConfluentTemporal-Joins in Kafka Streams and ksqlDB | Matthias Sax, Confluent
Temporal-Joins in Kafka Streams and ksqlDB | Matthias Sax, Confluent
 
Microsoft Teams
Microsoft TeamsMicrosoft Teams
Microsoft Teams
 
DevOps concepts, tools, and technologies v1.0
DevOps concepts, tools, and technologies v1.0DevOps concepts, tools, and technologies v1.0
DevOps concepts, tools, and technologies v1.0
 
Microservice Design Patterns.pdf
Microservice Design Patterns.pdfMicroservice Design Patterns.pdf
Microservice Design Patterns.pdf
 
고려대학교 컴퓨터학과 특강 - 대학생 때 알았더라면 좋았을 것들
고려대학교 컴퓨터학과 특강 - 대학생 때 알았더라면 좋았을 것들고려대학교 컴퓨터학과 특강 - 대학생 때 알았더라면 좋았을 것들
고려대학교 컴퓨터학과 특강 - 대학생 때 알았더라면 좋았을 것들
 
Azure DevOps CI/CD For Beginners
Azure DevOps CI/CD  For BeginnersAzure DevOps CI/CD  For Beginners
Azure DevOps CI/CD For Beginners
 
Enabling Remote Work With Microsoft Teams, Virtual Desktop, Office Apps and S...
Enabling Remote Work With Microsoft Teams, Virtual Desktop, Office Apps and S...Enabling Remote Work With Microsoft Teams, Virtual Desktop, Office Apps and S...
Enabling Remote Work With Microsoft Teams, Virtual Desktop, Office Apps and S...
 

Semelhante a LUIS and Bots

Semelhante a LUIS and Bots (20)

Microsoft teams & bot framework - A developer's perspective
Microsoft teams & bot framework - A developer's perspectiveMicrosoft teams & bot framework - A developer's perspective
Microsoft teams & bot framework - A developer's perspective
 
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s PerspectiveESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
ESPC Teams week Microsoft Teams & Bot Framework – a Developer’s Perspective
 
Building conversation AI using Azure Bot & LUIS
Building conversation AI using Azure Bot & LUISBuilding conversation AI using Azure Bot & LUIS
Building conversation AI using Azure Bot & LUIS
 
GIB2018 AKL - Introduction to Bots, Luis and Flow
GIB2018 AKL - Introduction to Bots, Luis and FlowGIB2018 AKL - Introduction to Bots, Luis and Flow
GIB2018 AKL - Introduction to Bots, Luis and Flow
 
Citizen Developer Tools @ Valo Solutions / Blue Meteorite Monday session
Citizen Developer Tools @ Valo Solutions / Blue Meteorite Monday sessionCitizen Developer Tools @ Valo Solutions / Blue Meteorite Monday session
Citizen Developer Tools @ Valo Solutions / Blue Meteorite Monday session
 
Da 0 all'AI conversazionale usando Microsoft Azure
Da 0 all'AI conversazionale usando Microsoft AzureDa 0 all'AI conversazionale usando Microsoft Azure
Da 0 all'AI conversazionale usando Microsoft Azure
 
#Techorama belgium 2018 vincent biret what's new with the #MicrosoftGraph
#Techorama belgium 2018 vincent biret what's new with the #MicrosoftGraph#Techorama belgium 2018 vincent biret what's new with the #MicrosoftGraph
#Techorama belgium 2018 vincent biret what's new with the #MicrosoftGraph
 
AI, The Enterprise, and You
AI, The Enterprise, and YouAI, The Enterprise, and You
AI, The Enterprise, and You
 
Citizen Developer Tools are not just for Citizen Developers (session at Share...
Citizen Developer Tools are not just for Citizen Developers (session at Share...Citizen Developer Tools are not just for Citizen Developers (session at Share...
Citizen Developer Tools are not just for Citizen Developers (session at Share...
 
IIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the Key
IIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the KeyIIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the Key
IIBA® Sydney Unlocking the Power of Low Code No Code: Why BAs Hold the Key
 
Microsoft Teams Development - Conversational AI
Microsoft Teams Development - Conversational AIMicrosoft Teams Development - Conversational AI
Microsoft Teams Development - Conversational AI
 
Citizen Developer Tools - session at SPS New England 10/20/2018
Citizen Developer Tools - session at SPS New England 10/20/2018Citizen Developer Tools - session at SPS New England 10/20/2018
Citizen Developer Tools - session at SPS New England 10/20/2018
 
Microsoft power platform
Microsoft power platformMicrosoft power platform
Microsoft power platform
 
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
 
Build a Great Conversationalist
Build a Great ConversationalistBuild a Great Conversationalist
Build a Great Conversationalist
 
#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraph
#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraph#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraph
#Techorama belgium 2018 vincent biret deep dive with the #MicrosoftGraph
 
SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...
SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...
SPFestDc AZR204 Microsoft Graph and SharePoint Framework under steroids with ...
 
OUGN 2018 - Chatbot and the need to integrate
OUGN 2018 - Chatbot and the need to integrateOUGN 2018 - Chatbot and the need to integrate
OUGN 2018 - Chatbot and the need to integrate
 
Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...
Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...
Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...
 
Citizen Developer Tools (session at SharePoint Saturday Twin Cities 4/14/2018...
Citizen Developer Tools (session at SharePoint Saturday Twin Cities 4/14/2018...Citizen Developer Tools (session at SharePoint Saturday Twin Cities 4/14/2018...
Citizen Developer Tools (session at SharePoint Saturday Twin Cities 4/14/2018...
 

Mais de Daniel Toomey

Mais de Daniel Toomey (20)

Microsoft Azure News - May 2024 - BAUG'24
Microsoft Azure News - May 2024 - BAUG'24Microsoft Azure News - May 2024 - BAUG'24
Microsoft Azure News - May 2024 - BAUG'24
 
Azure Logic Apps and Copilot.pptx .
Azure Logic Apps and Copilot.pptx      .Azure Logic Apps and Copilot.pptx      .
Azure Logic Apps and Copilot.pptx .
 
Microsoft Azure News - April 2024 .
Microsoft Azure News - April 2024      .Microsoft Azure News - April 2024      .
Microsoft Azure News - April 2024 .
 
Microsoft Azure News - Feb 2024
Microsoft Azure News - Feb 2024Microsoft Azure News - Feb 2024
Microsoft Azure News - Feb 2024
 
Microsoft Azure News - Dec 2023
Microsoft Azure News - Dec 2023Microsoft Azure News - Dec 2023
Microsoft Azure News - Dec 2023
 
Microsoft Azure News - Nov 2023
Microsoft Azure News - Nov 2023Microsoft Azure News - Nov 2023
Microsoft Azure News - Nov 2023
 
Microsoft AzureNews - Oct 2023
Microsoft AzureNews - Oct 2023Microsoft AzureNews - Oct 2023
Microsoft AzureNews - Oct 2023
 
Microsoft Azure New - Sep 2023
Microsoft Azure New - Sep 2023Microsoft Azure New - Sep 2023
Microsoft Azure New - Sep 2023
 
Microsoft Azure News - Aug 2023
Microsoft Azure News - Aug 2023Microsoft Azure News - Aug 2023
Microsoft Azure News - Aug 2023
 
Private DNS Infrastructure Support in Hybrid Scenarios
Private DNS Infrastructure Support in Hybrid ScenariosPrivate DNS Infrastructure Support in Hybrid Scenarios
Private DNS Infrastructure Support in Hybrid Scenarios
 
Microsoft Azure News - Jul 2023
Microsoft Azure News - Jul 2023Microsoft Azure News - Jul 2023
Microsoft Azure News - Jul 2023
 
Microsoft Azure News - Jun 2023
Microsoft Azure News - Jun 2023Microsoft Azure News - Jun 2023
Microsoft Azure News - Jun 2023
 
Microsoft Azure News - May 2023
Microsoft Azure News - May 2023Microsoft Azure News - May 2023
Microsoft Azure News - May 2023
 
Microsoft Azure News - Apr 2023
Microsoft Azure News - Apr 2023Microsoft Azure News - Apr 2023
Microsoft Azure News - Apr 2023
 
Microsoft Azure News - Mar 2023
Microsoft Azure News - Mar 2023Microsoft Azure News - Mar 2023
Microsoft Azure News - Mar 2023
 
Microsoft Azure News - Feb 2023
Microsoft Azure News - Feb 2023Microsoft Azure News - Feb 2023
Microsoft Azure News - Feb 2023
 
Microsoft Azure News - Jan 2023
Microsoft Azure News - Jan 2023Microsoft Azure News - Jan 2023
Microsoft Azure News - Jan 2023
 
Microsoft Azure News - Dec 2022
Microsoft Azure News - Dec 2022Microsoft Azure News - Dec 2022
Microsoft Azure News - Dec 2022
 
Microsoft Azure News - Nov 2022
Microsoft Azure News - Nov 2022Microsoft Azure News - Nov 2022
Microsoft Azure News - Nov 2022
 
Microsoft Azure News - Oct 2022
Microsoft Azure News - Oct 2022Microsoft Azure News - Oct 2022
Microsoft Azure News - Oct 2022
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

LUIS and Bots

  • 1. #gib2018 2018 - Brisbane GLOBAL INTEGRATION BOOTCAMP Dan Toomey | Mexia LUIS and Bots
  • 2. Dan Toomey • Principal Consultant, Mexia • Microsoft Azure MVP • MCSE, MCT, MCPD, MCTS BizTalk & Azure • Pluralsight Author • www.mindovermessaging.com • @daniel2me Who Am I?
  • 3. Acknowledgements Kent Weare Principal Program Manager – Microsoft Flow Give your Bots connectivity, with Azure Logic Apps and Microsoft Flow
  • 4. Acknowledgements Eldert Grootenboer Integration Architect – Motion 10 Microsoft Azure MVP Using Azure to Build Intelligent Bots ALSO: https://github.com/AzureCAT-GSI/DevCamp
  • 6. Rise of the Cognitive Assistant Assistants are being embedded everywhere; are increasing ability to solve problems. As computing advances, so will Virtual Assistant ability to help in task completion. Virtual Assistants ability to be “smart”, and to understand intent, tone, and context. Market demand for meaningful, stateful and goal oriented conversations.
  • 7. BOTS – The HypeBots are the new Apps
  • 8. Bots are gaining in Popularity for Good Reason - Statista 2017 Most popular mobile messaging apps worldwide - January 2017 Monthly Active Users
  • 9. What is a Bot ?
  • 11. Language Understanding Intelligence Service (LUIS) A Microsoft Cognitive Service that provides developers with an easy way to create language models to allow applications to understand user commands. Create your own LU model Train by providing examples Deploy to an HTTP endpoint and activate on any device Maintain model with ease
  • 12. LUIS Language understanding in human-computer interaction is: Technically challenging It’s exceedingly difficult to enable a computer to understand what a person wants and to find the pieces of information that are relevant to their intent. Costly to implement Building and maintaining machine learning systems requires a large investment of time, money and engineering resources Often domain specific In the past, building your own machine learned models often required assistance of a team of data scientists that would customize the models to the specific domain.
  • 14. LUIS
  • 15. Quick Start – Pre Built Entities Improved number, unit, money and date/times “From May 1st to May 5th” “I want to fly from SEA to AMS next Tuesday and leave after 5 days” Age Dimension Email Encyclopedia Geography Money Number Ordinal Percentage Phone number (US) Temperature URL
  • 19. Many different types of Bots Procedural Bots • Prescribed menu • Little agility for end users Contextual Bots • Less rigid • Users have intents and issue utterances • Bot interprets meaning and acts Event driven Bots • Users subscribe to events • Are notified when event fires Robotic Process Automation (RPA) • Automation achieved through GUI integration • Macro driven
  • 20. Dialog [Serializable] public class EchoDialog : IDialog<object> { public async Task StartAsync(IDialogContext context) { context.Wait(MessageReceivedAsync); } public async Task MessageReceivedAsync(IDialogContext context, IAwaitable<IMessageActivity> argument) { var message = await argument; await context.PostAsync("You said: " + message.Text); context.Wait(MessageReceivedAsync); } }
  • 21. FormFlow public string NameOfVessel; [Numeric(1000000, 9999999)] [Prompt("Please enter your {&}")] public int OfficialVesselNumber; [Pattern(@"^(?:+d{1,3}|0d{1,3}|00d{1,2})?(?:s?(d+))?(?:[-/s.]|d)+$")] public string PhoneNumber; [Numeric(2, 20)] [Prompt("Please enter the {&}")] public int NumberOfPeopleOnBoard; public Cargo? PreviousCargo; public static IForm<ShipRegistrationDialog> BuildForm() { return new FormBuilder<ShipRegistrationDialog>().Message("Welcome to Rotterdam Tank Terminals").OnCompletion(StartStoreRegistration).Build(); }
  • 22. Design Principles – First Interaction
  • 23. Design Principles – Dialog Flow
  • 24. Design Principles – Navigation
  • 25. Design Principles – Navigation
  • 26. Design Principles – Natural Language
  • 27. My Org Bot – Vacation Reporting
  • 28. Bot Creator Personas Azure Logic Apps BOT Framework Pro Integrator Sandra • Works in IT as a developer • Codes in Visual Studio • Builds custom solutions • Azure Portal is her Happy Place • Loves building APIs • Azure Functions FTW! Stuart • Works in HR as an HRIS Analyst • Has some technical training • Excel and SharePoint are his JAM! • Is under constant pressure to do more • Doesn’t have Azure Portal access • Administrates SaaS solutions like Workday, SuccessFactors, Taleo Citizen Integrator Microsoft Flow Bizzy (H3 Solutions) Ad-hoc Integrator Sam • In IT, Service Desk Supervisor • Can script in PowerShell • Looking to reduce costs in providing IT Service Management • Administrates ServiceNow • Persona may include IT Pro/BA Microsoft Flow Azure Logic Apps
  • 29. Building a Bot - Process Pro Integrator
  • 31. Building a Bot - Process • Define LUIS Intents and Entities https://www.luis.ai/
  • 32. Building a Bot - Process • Define LUIS Intents and Entities • Download Bot Framework Templates and Emulator
  • 33. Building a Bot - Process • Define LUIS Intents and Entities • Download Bot Framework Templates and Emulator • Build Controllers, Models and Prompts
  • 34. Building a Bot - Process • Define LUIS Intents and Entities • Download Bot Framework Templates and Emulator • Build Controllers, Models and Prompts • Build your Logic Apps
  • 35. Building a Bot - Process • Define LUIS Intents and Entities • Download Bot Framework Templates and Emulator • Build Controllers, Models and Prompts • Build your Logic Apps • Protect your Logic Apps with API Management • Apply additional Policies
  • 36. Building a Bot - Process • Define LUIS Intents and Entities • Download Bot Framework Templates and Emulator • Build Controllers, Models and Prompts • Build your Logic Apps • Protect your Logic Apps with API Management • Test locally with Emulator
  • 37. Building a Bot - Process • Define LUIS Intents and Entities • Download Bot Framework Templates and Emulator • Build Controllers, Models and Prompts • Build your Logic Apps • Protect your API with API Management • Test locally with Emulator • Publish to Azure App Service
  • 38. Building a Bot - Process • Define LUIS Intents and Entities • Download Bot Framework Templates and Emulator • Build Controllers, Models and Prompts • Build your Logic Apps • Protect your Logic Apps with API Management • Test locally with Emulator • Publish to Azure App Service • Register and Connect Bot
  • 39. Building a Bot - Process Citizen Integrator
  • 40. Employees HR Bot – Update Demographic Data Workday Connector Workday
  • 41. Building a Bot - Process Ad-hoc Integrator
  • 43. Grow up to Logic Apps • “No Cliffs” across Flow and Logic Apps • Flow is good for simple integrations and empowering users to do integrations without going through development teams in IT • However, sometimes IT / devs need to take over when the Flow gets too advanced • Flows can be converted to a Logic App
  • 44. Microsoft Flow https://flow.microsoft.com – Do you have Office 365?...You then have Flow. Azure Logic Apps https://azure.microsoft.com/en-us/services/logic-apps/ Microsoft Research Cognitive Services YouTube Channel http://tinyurl.com/hob5zjp Bizzy – The Enterprise Bot https://getbizzy.io Resources
  • 45. GLOBAL INTEGRATION BOOTCAMP Lab #2 Creating a Smart Expense Claim Bot Using Flow & Bizzy
  • 46. Lab #2 Prerequisites Azure Subscription Office 365 with SharePoint Online (TRIAL: https://signup.microsoft.com/signup) Azure Storage Explorer (http://storageexplorer.com)

Notas do Editor

  1. Interested in all things integration – which of course includes MS Flow
  2. Most of these slides are taken from Kent’s presentation at Integrate 2017 USA
  3. Some slides are from Eldert
  4. BOT builder: Full SDK for .NET, Node.js Emulator Sample Bots Bot Framework portal: register,connect and manage bot in an easy and convenient way Includes diagnostic tools and web chat control for embedding on a web page
  5. A user may be typing simple requests based on natural language. For example, a user may type "I want a pepperoni pizza" or "Are there any vegetarian restaurants within 3 miles from my house open now?". Natural language understanding APIs such as LUIS.ai are a great fit for scenarios like this. Using the APIs, your bot can extract the key components of the user's text to identify the user's intent.
  6. Provide important navigation clues Where is the menu? Where to go for help? What is the privacy policy?
  7. Users will not always travel in a linear path
  8. The “stubborn bot”
  9. The “clueless bot” The “mysterious bot”
  10. When implementing natural language understanding capabilities in your bot, set realistic expectations for the level of detail that users are likely to provide in their input.
  11. 44
  12. In this fourth lab, we will be receiving the orders from the business customer’s topic in a new Logic App, and check the total amount of the invoice. In case the customer placed a large order (over $50000), we will create a task for one of our sales employees to contact the customer to verify the order. In case the order is correct, the invoice will be emailed to the customer. The Logic App will then call a function, in which we will check a storage table to determine how much discount the customer will be given (based on the total order amount), and finally will place a file on blob storage, which will be used by an employee to refund the customer.