Download - AI Machine vs Human
![Page 1: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/1.jpg)
Human Vs Bot Sasso Carta Forbice
Matteo ValorianiAntimo Musone
MILAN 25-26 NOVEMBER 2016
![Page 2: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/2.jpg)
About USMatteo Valoriani Co-Founder Fifth Ingenum Srls. Community .Net Lombardia Teaching Assistant Politecnico Milano Email:[email protected]
Antimo Musone Co-Founder Fifth Ingenum Srls. IT Manager / Architect for EY - Italy Ing. Informatica II Università di Napoli Email:[email protected]
![Page 3: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/3.jpg)
Target : Rock-Paper-Scissors Bot Game
Routes messagesManage stateBot Directory
Session trackingAPI / SDK
Channels
Prediction algorithms
Game Logic
Bot ConnectorBot
Prediction algorithms
Prediction algorithms
Web Services
Microsoft Azure Bot
Microsoft Bot Framework
Microsoft Azure Function
Azure Machine Learning
Azure Machine Learning
Azure Machine Learning
![Page 4: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/4.jpg)
http://codemotionwebbot.azurewebsites.net/
![Page 5: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/5.jpg)
Intro to Bot Framework & Cognitive Services
![Page 6: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/6.jpg)
MS Bot Frameworkhttps://dev.botframework.com
A bot is a web service that interacts with users in a conversational format.Start conversations with your bot from any channel that you’ve configured your bot to work on Text/SMS, Skype, Slack, Facebook Messenger, and other popular services.
![Page 7: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/7.jpg)
Overview MS Bot Framework
http://docs.botframework.com
Components:• Connect
or • Builder
SDK• Develop
er Portal• Bot
Directory
![Page 8: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/8.jpg)
Bot ConnectorChannels:• Facebook• Email• GroupMe• Skype• Slack• SMS• Telegram• Web• etc...
http://docs.botframework.com/connector/getstarted
![Page 9: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/9.jpg)
Configure: Web Chat https://webchat.botframework.com/Dev/?botId=YOUR-BOT-ID
![Page 10: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/10.jpg)
Configure: Facebook Messenger
https://facebook.botframework.com/Dev/?botId=YOUR-BOT-ID
![Page 12: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/12.jpg)
Configure: Direct Linehttps://directline.botframework.com/Dev/?botId=YOUR-BOT-ID
![Page 13: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/13.jpg)
Bot Builder SDK for C#Features:• Dialogs• AI• LUIS• Stateless• Scalable• FormFlow• GitHub!
http://docs.botframework.com/sdkreference/csharp
To build your bot, the Framework provides a .NET SDK and Node.js SDK. SDKs provide features such as dialogs and built-in prompts that make interacting with usersThe Bot Builder SDK is provided as open source on GitHub ( BotBuilder)
![Page 14: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/14.jpg)
Core Conceptshttp://docs.botframework.com/sdkreference/csharp
AuthenticationThe Bot Connector service uses OAuth 2.0 client credentials for bot authentication.ConversationThe Bot can have a private conversation with a single user, or a group conversation with multiple users including other bots. (not all channels support group conversations)MessagesA conversation is a series of message, each message is an Activity object. When a user sends a message, the channel that they’re communicating on posts the message to your bot (web service). Types of messages:• contactRelationUpdate• conversationUpdate• deleteUserData• Message• Ping• typing
![Page 17: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/17.jpg)
DemoStart coding
microsoft.com/cognitive
![Page 18: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/18.jpg)
Microsoft
Cognitive ServicesGive your apps a human side
VisionFrom faces to feelings, allow your
apps to understand images and videoSpeechHear and speak to your users by filtering noise, identifying speakers, and understanding intentLanguageProcess text and learn how to recognize what users wantKnowledgeTap into rich knowledge amassed from the web, academia, or your own dataSearchAccess billions of web pages, images, videos, and news with the power of Bing APIs
Cognitive Services
![Page 19: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/19.jpg)
Cognitive Services
Emotion Speaker Recognition
Speech
Custom Recognition
Computer Vision
Face
Video
microsoft.com/cognitiveSearchSpeech Languag
eKnowledge
Vision
Linguistic AnalysisLanguage Understanding
Bing Spell Check
Entity Linking
Knowledge Exploration
Academic Knowledge
Bing Image SearchBing Video Search
Bing Web Search
WebLM
Text Analytics Recommendations
Bing Autosuggest
Bing News SearchTranslator
![Page 20: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/20.jpg)
Cognitive Services
Emotion Speaker Recognition
Speech
Custom Recognition
Computer Vision
Face
Video
SearchSpeech Languag
eKnowledge
Vision
Linguistic AnalysisLanguage Understanding
Bing Spell Check
Entity Linking
Knowledge Exploration
Academic Knowledge
Bing Image SearchBing Video Search
Bing Web Search
WebLM
Text Analytics Recommendations
Bing Autosuggest
Bing News SearchTranslator
microsoft.com/cognitive
![Page 21: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/21.jpg)
Language Understanding
![Page 22: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/22.jpg)
![Page 24: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/24.jpg)
{“entities”: [
{“entity”:
“flight_delays”,“type”: “Topic”
}],“intents”: [
{“intent”:
“FindNews”,“score”: 0.99853384
},{
“intent”: “None”,“score”: 0.07289317
},{
“intent”: “ReadNews”,
“score”: 0.0167122427
},{
“intent”: “ShareNews”,
“score”: 1.0919299E-06
}]
}
“News about flight delays”
Language Understanding Models
![Page 25: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/25.jpg)
Language Understanding ModelsReduce labeling effort with interactive featuringApplication Integration Deploy using just a few examples with active learningSupports 5 languages (English, Chinese, Italian, French, Spanish)Learning Process :
Define Concepts
ProvideExamples Active LearningDeploy
Language Understanding Models
![Page 27: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/27.jpg)
Adding intents, entities, and labels
Intent:• Name• Utterances• Action
![Page 28: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/28.jpg)
Adding intents, entities, and labels
Entity:• Name• Hierarchical• Composite• Labeling
![Page 29: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/29.jpg)
Train & Publishing a ModelFinal:• Train• Suggest• Review• Publish
![Page 30: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/30.jpg)
DemoStart coding
microsoft.com/cognitive
![Page 31: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/31.jpg)
Serverless Architecture -Azure Function
![Page 32: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/32.jpg)
![Page 33: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/33.jpg)
Mic
roso
ft Az
ure
Func
tion
![Page 34: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/34.jpg)
DemoStart coding
microsoft.com/cognitive
![Page 35: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/35.jpg)
Azure Machine Learning
![Page 36: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/36.jpg)
Azure Machine Learning Studio
![Page 37: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/37.jpg)
Machine Learning Studio
![Page 38: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/38.jpg)
DemoStart coding
microsoft.com/cognitive
![Page 39: AI Machine vs Human](https://reader036.vdocuments.us/reader036/viewer/2022062523/586f75a91a28ab10258b6123/html5/thumbnails/39.jpg)
Q&A
Matteo ValorianiAntimo Musone