9. Cortana bot, developer pros and cons
• Pros
• Enterprise-friendly:
• no separate application install on Windows
• iOS, Android, Smart Speakers
• Simple bot SDK on Node.JS and .NET/C#
• Cons
• Tied to Azure Bot Framework
• Not “code free”
#ISSLearningDay2018
12. What’s a Cortana bot?
#ISSLearningDay2018
• The brains behind a Cortana Skill
• Voice activated using “Ask <bot keyword>” from Cortana
https://www.engadget.com/2016/11/01/omate-yumi-home-robot-alexa/
13. Use case: ISS Cortana Kiosk
Prospective student:
“Ask ISS what are the courses on Agile?”
Bot: looks up answer (course list) …
Cortana:
“Here are the courses on Agile:”
#ISSLearningDay2018
14. Use case: ISS Cortana Kiosk
Visitor:
“Ask ISS where is classroom 2-03?”
Bot: looks up answer (location of 2-03) …
Cortana:
“Okay, take the elevator to the second floor, turn left…”
#ISSLearningDay2018
16. • “The Entry point”
• Voice queries from Cortana
• Results from backend
• 1 channel per bot keyword
(e.g. Ask ISS)
Part 1 (of 3): Cortana Channel
#ISSLearningDay2018
1
17. • “Message Router and Glue”
• Incoming queries from
Cortana
• Outgoing replies from bot
service
Part 2 (of 3): Bot Connector
#ISSLearningDay2018
2
18. • “The Brains”
• Implements logic to answer
queries
• Calls other web services
• Call other cognitive APIs
• Code in Javascript, Java,
Python, .NET
Part 3 (of 3): Bot Web Service
#ISSLearningDay2018
3
22. Takeaways
• Powerful way of creating Cortana Skills
• Build bots using Java, JS, Python, .NET:
https://github.com/Microsoft/BotBuilder
• Simple end user deployment on Windows, iOS, and
Android
#ISSLearningDay2018