Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture
-
Upload
paul-prae -
Category
Data & Analytics
-
view
469 -
download
2
Transcript of Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture
![Page 1: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/1.jpg)
Azure as a Chatbot ServiceA journey from purpose to production
![Page 2: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/2.jpg)
Paul PraeConsultant, Slalom Consulting
Pursuing MS in Computer Science with a Specialization in Interactive IntelligenceBS in Computer Science with an Area of Emphasis in Artificial IntelligenceBA in Cognitive Science with a Focused Foundation in Artificial Intelligence
www.paulprae.com@Praeducer
![Page 3: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/3.jpg)
• What Are Chatbots?• Examples In Education• Neona: A Chatbot That Teaches AI• A Cloud Bot Architecture
Agenda
![Page 4: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/4.jpg)
What Is Artificial Intelligence?
![Page 5: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/5.jpg)
A flexible rational agent that perceives its environment and takes actions that maximize its chance of success at some goal.
Artificial Intelligence
![Page 6: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/6.jpg)
The term "artificial intelligence” is applied when a machine mimics cognitive functions that humans associate with other human minds, such as learning and problem solving.
Artificial Intelligence
![Page 7: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/7.jpg)
What Are Chatbots?
![Page 8: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/8.jpg)
ChatbotsA chatbot is a service, powered by rules and sometimes artificial intelligence, that you interact with via a chat interface. The service could be any number of things, ranging from functional to fun, and it could live in any major chat product.
![Page 9: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/9.jpg)
“Today, we are only scratching the surface of what AI can help us accomplish. Ultimately, we believe humans and machines will work together to solve society’s greatest challenges, to create magical experiences and change the world.”
![Page 10: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/10.jpg)
The future: Conversations• Natural language between people
and technology
• Conversational canvas
• Bots and agents
2000s: Mobile• Social• User download
apps from App Stores
1990s: Internet• Search• User “visits”
websites
1980s: PC• Desktop
![Page 11: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/11.jpg)
Transformingengagement
Reach customers anywhere, on any platform or device
Engage with customers and users in a natural way, conversationally and in context
Expose your products and services via messaging platforms, where users are already highly engaged
Improve customer experience and reduce the need for human assistance
Productivity task completionEnhance productivity through task automation and through automated workflows
![Page 12: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/12.jpg)
Examples In EducationAdmitHub: A Virtual Coach For Your CollegeAdmitHub integrates artificial intelligence with human expertise to guide students to and through college. We work with your institution to create a virtual campus coach that embodies the collective knowledge and unique spirit of your school community.• Students have 24/7 access to personalized
guidance as they apply, enroll and advance through college.
• Encouragement, reminders and prompt assistance help students stay on track from application to graduation.
• Your virtual coach handles repetitive tasks and data collection, freeing your staff to focus on high-impact work.
![Page 13: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/13.jpg)
Examples In EducationAdmitHub’s custom chatbot to help Georgia State students transition to college• Pounce engages in conversations with
incoming Georgia State students to guide them through key steps, such as filing the FAFSA, applying for housing, and registering for classes.
• A product of artificial intelligence and supervised machine learning, Pounce can also answer thousands of student questions about Georgia State, student life, campus services, financial aid, and more.
• In the first month since the mid-April launch, Pounce exchanged nearly 50,000 texts with more than 3,000 admitted students to help them enroll at Georgia State.
![Page 14: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/14.jpg)
Examples In Education
![Page 15: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/15.jpg)
![Page 16: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/16.jpg)
Final Project: A Conversational AgentFor my final in that course, I built a chatbot.
Check out the Skype demo at http://www.neona.chat.
![Page 17: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/17.jpg)
Cloud Technology Behind Neona
Microsoft Bot Framework Azure Bot Service
Azure Search Azure DocumentDB
Language Understanding
Intelligent Service (LUIS)
Microsoft Azure
![Page 18: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/18.jpg)
Open Source Technology Behind Neona
![Page 19: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/19.jpg)
A Cloud Bot Architecture
Bot Service
Node.js Dev
Bot Builder SDK Git
LUIS
Azure Search DocumentDB
Channels
![Page 20: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/20.jpg)
www.botframework.com
![Page 21: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/21.jpg)
Microsoft Bot Framework
Node.js, .NET and REST Rich interactions Chat Emulator
Dialogs to model conversation
• Dialogs are reusable• Types of Dialogs include:
• Built-in prompts• Yes/No, String, Number,
Choices• FormFlow and form slot
filling (branching, disambiguation, multi-turn)
• Conversations are scalable to multiple machines
• Support for rich attachments (image, card, video, doc, etc.); support for calling (Skype)
• Service extensions for language understanding(LUIS) and translation
Bot Builder SDK
![Page 22: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/22.jpg)
Microsoft Bot Framework
Developer Portal
• Register your bot• Connect to channels• Test• Publish• Manage• Measure
![Page 23: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/23.jpg)
Microsoft Bot Framework
Bot Directory
Public Directory of Bot Framework Bots
• Users can discover, try, and add bots to the conversation experiences
• Bots are public at developer discretion; bots must be submitted for review in order to appear in the directory
• Searchable
![Page 24: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/24.jpg)
Azure Bot Service
Accelerate development cycles
Enrich your bots Boost operational efficiencies
![Page 25: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/25.jpg)
Azure Bot Service
Accelerate development cycles
Develop your way
Integrated chat window
Built incode editor
</>
Quick start templates
![Page 26: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/26.jpg)
Azure Bot Service
Channel support
Direct Line support
Cognitive Services
Embedded web chat
API
Enrich your bots
![Page 27: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/27.jpg)
Azure Bot Service
Scale on demand
Reduced dev ops
Powered byAzure Functions
Continuousdeployment
Boost operational efficiency
![Page 28: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/28.jpg)
LUIS: Language Understanding Intelligent Service
Deploy your models to an
HTTP endpoint
Activate models on any
device
Create language understanding
modelsUse pre-built,
world-class models from Bing and
Cortana
LUIS lets your app understand language
![Page 29: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/29.jpg)
Azure Search
Build great search experiences for your web and mobile apps
Reduce complexity with a fully managed
service
Get up and running quickly
A search-as-a-service solution allowing developers to incorporate great search experiences into applications without managing infrastructure or needing to
become search experts.
![Page 30: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/30.jpg)
Azure Search
Provision service
Create index Index data Search
Typical Workflow
![Page 31: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/31.jpg)
Azure DocumentDB
Limitless scale, globally replicated
Schema-free with SQL and JavaScript
Guaranteed low latency
Blazing fast, planet scale NoSQL document database-as-a-service
![Page 32: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/32.jpg)
Azure DocumentDB
Azure DocumentDB account Databases
Users
Permissions
101010
Attachments
{ }{ }
DocumentsCollections
Stored procedures
Triggers
User-defined functions
JS
JS
JS
Resource model• Entities addressable by logical
Uniform Resource Identifier (URI)• Partitioned for scale out • Replicated for high availability• Entities represented as JSON
Interaction model• RESTful interaction over HTTPS• HTTPS and TCP connectivity• Standard HTTPS verbs and semantics
Development• .NET, Node.js, Python, Java, and
JavaScript clients• SQL for query expression, .NET LINQ• JavaScript for server-side app logic
![Page 33: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/33.jpg)
A Cloud Bot Architecture
Bot Service
Node.js Dev
Bot Builder SDK Git
LUIS
Azure Search DocumentDB
Channels
![Page 34: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/34.jpg)
Learning Resources• Neona: A Conversational Agent That Teaches AI
• http://blog.paulprae.com/neona-a-conversational-agent-that-teaches-ai-2/
• Build a Node.js web application using DocumentDB• https://
docs.microsoft.com/en-us/azure/documentdb/documentdb-nodejs-application
• Get started with Azure Search in the portal• https://
docs.microsoft.com/en-us/azure/search/search-get-started-portal• Bot Framework: UniversalBot
• https://docs.botframework.com/en-us/node/builder/chat/UniversalBot• Bot Framework: Understanding Natural Language
• https://docs.botframework.com/en-us/node/builder/guides/understanding-natural-language
![Page 35: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/35.jpg)
Code• Bot Builder for Node.js examples
• https://docs.botframework.com/en-us/node/builder/guides/examples/• These samples illustrate how to navigate large amounts of
content• https://
github.com/Microsoft/BotBuilder-Samples/tree/master/Node/demo-Search
• A sample bot using IntentDialog to integrate with a LUIS.ai application
• https://github.com/Microsoft/BotBuilder-Samples/tree/master/Node/intelligence-LUIS
![Page 36: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/36.jpg)
EndQuestions and Feedback
![Page 37: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/37.jpg)
Paul PraeConsultant, Slalom Consulting
Pursuing MS in Computer Science with a Specialization in Interactive IntelligenceBS in Computer Science with an Area of Emphasis in Artificial IntelligenceBA in Cognitive Science with a Focused Foundation in Artificial Intelligence
www.paulprae.com@Praeducer
![Page 38: Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Architecture](https://reader034.fdocuments.in/reader034/viewer/2022051708/58870bfe1a28abf2228b51f5/html5/thumbnails/38.jpg)