SlideShare a Scribd company logo
Human Vs Bot
Sasso Carta Forbice
Matteo Valoriani
Antimo Musone
MILAN 25-26 NOVEMBER 2016
About US
Matteo Valoriani
 Co-Founder Fifth Ingenum Srls.
 Community .Net Lombardia
 Teaching Assistant Politecnico Milano
 Email:matteo.valoriani@fifthingenium.com
Antimo Musone
 Co-Founder Fifth Ingenum Srls.
 IT Manager / Architect for EY - Italy
 Ing. Informatica II Università di Napoli
 Email:antimo.musone@fifthingenium.com
Target : Rock-Paper-Scissors Bot Game
Routes messages
Manage state
Bot Directory
Session tracking
API / SDK
Channels
Prediction
algorithms
Game Logic
Bot Connector
Bot
Prediction
algorithms
Prediction
algorithms
Web Services
Microsoft
Azure Bot
Microsoft Bot
Framework
Microsoft Azure Function
Azure
Machine
Learning
Azure
Machine
Learning
Azure
Machine
Learning
http://codemotionwebbot.azurewebsites.net/
Intro to Bot Framework
& Cognitive Services
MS Bot Framework
https://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.
Overview MS Bot Framework
http://docs.botframework.com
Components:
• Connector
• Builder
SDK
• Developer
Portal
• Bot
Directory
Bot Connector
Channels:
• Facebook
• Email
• GroupMe
• Skype
• Slack
• SMS
• Telegram
• Web
• etc...
http://docs.botframework.com/connector/getstarted
Configure: Web Chat
https://webchat.botframework.com/Dev/?botId=YOUR-BOT-ID
Configure: Facebook Messenger
https://facebook.botframework.com/Dev/?botId=YOUR-BOT-ID
FB Developer Settings
https://developers.facebook.com
Configure: Direct Line
https://directline.botframework.com/Dev/?botId=YOUR-BOT-ID
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 users
The Bot Builder SDK is provided as open source on GitHub ( BotBuilder)
Core Concepts
http://docs.botframework.com/sdkreference/csharp
Authentication
The Bot Connector service uses OAuth 2.0 client
credentials for bot authentication.
Conversation
The 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)
Messages
A 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
GitHub!
https://github.com/Microsoft/botbuilder
Bot Directory
https://bots.botframework.com/
Start coding
microsoft.com/cognitive
Microsoft
Cognitive
Services
From faces to feelings, allow your
apps to understand images and video
Hear and speak to your users by filtering noise,
identifying speakers, and understanding intent
Process text and learn how to
recognize what users want
Tap into rich knowledge amassed from
the web, academia, or your own data
Access billions of web pages, images, videos, and
news with the power of Bing APIs
Cognitive Services
Emotion
Speaker
Recognition
Speech
Custom RecognitionComputer Vision
Face
Video
microsoft.com/cognitive
SearchSpeech Language KnowledgeVision
Linguistic Analysis
Language
Understanding
Bing Spell Check
Entity Linking
Knowledge
Exploration
Academic
Knowledge
Bing
Image Search
Bing
Video Search
Bing
Web Search
WebLM
Text Analytics Recommendations
Bing
Autosuggest
Bing
News Search
Translator
Cognitive Services
Emotion
Speaker
Recognition
Speech
Custom RecognitionComputer Vision
Face
Video
SearchSpeech Language KnowledgeVision
Linguistic Analysis
Language
Understanding
Bing Spell Check
Entity Linking
Knowledge
Exploration
Academic
Knowledge
Bing
Image Search
Bing
Video Search
Bing
Web Search
WebLM
Text Analytics Recommendations
Bing
Autosuggest
Bing
News Search
Translator
microsoft.com/cognitive
Language Understanding
Language Understanding
Intelligent Service ( LUIS )
https://www.luis.ai/
{
“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
Language Understanding Models
Reduce labeling effort with interactive featuring
Application Integration
Deploy using just a few examples with active learning
Supports 5 languages (English, Chinese, Italian, French, Spanish)
Learning Process :
Language Understanding Models
Let’s get started!
https://www.luis.ai/
Adding intents, entities, and
labels
Intent:
• Name
• Utterances
• Action
Adding intents, entities, and
labels
Entity:
• Name
• Hierarchical
• Composite
• Labeling
Train & Publishing a Model
Final:
• Train
• Suggest
• Review
• Publish
Start coding
microsoft.com/cognitive
Serverless Architecture -
Azure Function
MicrosoftAzureFunction
Start coding
microsoft.com/cognitive
Azure Machine Learning
Azure Machine Learning Studio
Machine Learning Studio
Start coding
microsoft.com/cognitive
Q&A
Matteo Valoriani
Antimo Musone

More Related Content

What's hot

What's hot (20)

AI-powered Chatbots - what they are and where they're going
AI-powered Chatbots - what they are and where they're goingAI-powered Chatbots - what they are and where they're going
AI-powered Chatbots - what they are and where they're going
 
GSoC 2017 Proposal - Chatbot for DBpedia
GSoC 2017 Proposal - Chatbot for DBpedia GSoC 2017 Proposal - Chatbot for DBpedia
GSoC 2017 Proposal - Chatbot for DBpedia
 
IBM Watson Assistant - Build Chatbot and Deploy to Slack
IBM Watson Assistant - Build Chatbot and Deploy to SlackIBM Watson Assistant - Build Chatbot and Deploy to Slack
IBM Watson Assistant - Build Chatbot and Deploy to Slack
 
PDCConf2021 - Serverless WhatsApp Chatbot with Azure AI.pptx
PDCConf2021 - Serverless WhatsApp Chatbot with Azure AI.pptxPDCConf2021 - Serverless WhatsApp Chatbot with Azure AI.pptx
PDCConf2021 - Serverless WhatsApp Chatbot with Azure AI.pptx
 
Finance bots - The move toward conversational finance
Finance bots - The move toward conversational financeFinance bots - The move toward conversational finance
Finance bots - The move toward conversational finance
 
Realizing AI Conversational Bot
Realizing AI Conversational BotRealizing AI Conversational Bot
Realizing AI Conversational Bot
 
Chatbots - A new era in digital banking
Chatbots - A new era in digital bankingChatbots - A new era in digital banking
Chatbots - A new era in digital banking
 
FingerprintTouch
FingerprintTouchFingerprintTouch
FingerprintTouch
 
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
Azure as a Chatbot Service: From Purpose To Production With A Cloud Bot Archi...
 
Chatbot Abstract
Chatbot AbstractChatbot Abstract
Chatbot Abstract
 
The Rise of Chatbots in 2016
The Rise of Chatbots in 2016The Rise of Chatbots in 2016
The Rise of Chatbots in 2016
 
To Make Your Chatbot Smart, You Need to Feed It Right: How to Write for Chatb...
To Make Your Chatbot Smart, You Need to Feed It Right: How to Write for Chatb...To Make Your Chatbot Smart, You Need to Feed It Right: How to Write for Chatb...
To Make Your Chatbot Smart, You Need to Feed It Right: How to Write for Chatb...
 
Entering the Conversational Era with Chatbots for the Enterprise
Entering the Conversational Era with Chatbots for the EnterpriseEntering the Conversational Era with Chatbots for the Enterprise
Entering the Conversational Era with Chatbots for the Enterprise
 
Chatbots: The Future of Digital Banking
Chatbots: The Future of Digital BankingChatbots: The Future of Digital Banking
Chatbots: The Future of Digital Banking
 
Microsoft Cognitive Services - Recommendations API: Your first recommendation...
Microsoft Cognitive Services - Recommendations API: Your first recommendation...Microsoft Cognitive Services - Recommendations API: Your first recommendation...
Microsoft Cognitive Services - Recommendations API: Your first recommendation...
 
Chat bot technologies overview
Chat bot technologies overviewChat bot technologies overview
Chat bot technologies overview
 
Chatbot 101 - Robert McGovern
Chatbot 101 - Robert McGovernChatbot 101 - Robert McGovern
Chatbot 101 - Robert McGovern
 
Fintech Belgium Summit 2017 - Tech Impact - AI & Chatbots in banking and Ins...
Fintech Belgium Summit 2017 -  Tech Impact - AI & Chatbots in banking and Ins...Fintech Belgium Summit 2017 -  Tech Impact - AI & Chatbots in banking and Ins...
Fintech Belgium Summit 2017 - Tech Impact - AI & Chatbots in banking and Ins...
 
Chatbots: Connecting Artificial Intelligence and Customer Service
Chatbots: Connecting Artificial Intelligence and Customer ServiceChatbots: Connecting Artificial Intelligence and Customer Service
Chatbots: Connecting Artificial Intelligence and Customer Service
 
BOTS TESTING BOTS: From manual to automated testing for conversational AI
BOTS TESTING BOTS: From manual to automated testing for conversational AIBOTS TESTING BOTS: From manual to automated testing for conversational AI
BOTS TESTING BOTS: From manual to automated testing for conversational AI
 

Similar to Human vs Bot: Giocare a Sasso-Carta-Forbici - Matteo Valoriani, Antimo Musone - Codemotion Milan 2016

Mark Swaine UX Guy Designing Bot Experiences
Mark Swaine UX Guy Designing Bot ExperiencesMark Swaine UX Guy Designing Bot Experiences
Mark Swaine UX Guy Designing Bot Experiences
Mark N Swaine
 

Similar to Human vs Bot: Giocare a Sasso-Carta-Forbici - Matteo Valoriani, Antimo Musone - Codemotion Milan 2016 (20)

Tech talk - Microsoft A.I.
Tech talk - Microsoft A.I.Tech talk - Microsoft A.I.
Tech talk - Microsoft A.I.
 
20160813 102-59-kim youngwook
20160813 102-59-kim youngwook20160813 102-59-kim youngwook
20160813 102-59-kim youngwook
 
Chat bots101 - practical insights on the business of bots
Chat bots101 - practical insights on the business of botsChat bots101 - practical insights on the business of bots
Chat bots101 - practical insights on the business of bots
 
Chat bots101 - practical insights on the business of bots
Chat bots101 - practical insights on the business of botsChat bots101 - practical insights on the business of bots
Chat bots101 - practical insights on the business of bots
 
Solvion Trendwerkstatt - Microsoft Azure + Bots
Solvion Trendwerkstatt - Microsoft Azure + BotsSolvion Trendwerkstatt - Microsoft Azure + Bots
Solvion Trendwerkstatt - Microsoft Azure + Bots
 
Combining the Power of Bots and Microsoft Azure to Build the Apps of the Future
Combining the Power of Bots and Microsoft Azure to Build the Apps of the FutureCombining the Power of Bots and Microsoft Azure to Build the Apps of the Future
Combining the Power of Bots and Microsoft Azure to Build the Apps of the Future
 
Mark Swaine UX Guy Designing Bot Experiences
Mark Swaine UX Guy Designing Bot ExperiencesMark Swaine UX Guy Designing Bot Experiences
Mark Swaine UX Guy Designing Bot Experiences
 
Microsoft bot framework
Microsoft bot frameworkMicrosoft bot framework
Microsoft bot framework
 
Bots in the Enterprise
Bots in the Enterprise Bots in the Enterprise
Bots in the Enterprise
 
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
 
SharePoint Saturday Warsaw - Conversational AI applications in Microsoft Teams
SharePoint Saturday Warsaw - Conversational AI applications in Microsoft TeamsSharePoint Saturday Warsaw - Conversational AI applications in Microsoft Teams
SharePoint Saturday Warsaw - Conversational AI applications in Microsoft Teams
 
Intelligent ChatBot
Intelligent ChatBotIntelligent ChatBot
Intelligent ChatBot
 
Practical Microsoft Bot Framework for Office 365 developers
Practical Microsoft Bot Framework for Office 365 developersPractical Microsoft Bot Framework for Office 365 developers
Practical Microsoft Bot Framework for Office 365 developers
 
Build an Intelligent Bot (Node.js)
Build an Intelligent Bot (Node.js)Build an Intelligent Bot (Node.js)
Build an Intelligent Bot (Node.js)
 
Build a mobile chatbot with Xamarin
Build a mobile chatbot with XamarinBuild a mobile chatbot with Xamarin
Build a mobile chatbot with Xamarin
 
API Workshop Series Part 2: The Future of Intelligent User Interactions
API Workshop Series Part 2: The Future of Intelligent User InteractionsAPI Workshop Series Part 2: The Future of Intelligent User Interactions
API Workshop Series Part 2: The Future of Intelligent User Interactions
 
Clever data building a chatbot from your database
Clever data building a chatbot from your databaseClever data building a chatbot from your database
Clever data building a chatbot from your database
 
Just KISST.me! Thomas Howe
Just KISST.me! Thomas HoweJust KISST.me! Thomas Howe
Just KISST.me! Thomas Howe
 
#BeBot Meetup - Chatbots & LUIS by Nick Trogh (Microsoft)
#BeBot Meetup - Chatbots & LUIS by Nick Trogh (Microsoft)#BeBot Meetup - Chatbots & LUIS by Nick Trogh (Microsoft)
#BeBot Meetup - Chatbots & LUIS by Nick Trogh (Microsoft)
 
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
 

More from Codemotion

More from Codemotion (20)

Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
Fuzz-testing: A hacker's approach to making your code more secure | Pascal Ze...
 
Pompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending storyPompili - From hero to_zero: The FatalNoise neverending story
Pompili - From hero to_zero: The FatalNoise neverending story
 
Pastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storiaPastore - Commodore 65 - La storia
Pastore - Commodore 65 - La storia
 
Pennisi - Essere Richard Altwasser
Pennisi - Essere Richard AltwasserPennisi - Essere Richard Altwasser
Pennisi - Essere Richard Altwasser
 
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
Michel Schudel - Let's build a blockchain... in 40 minutes! - Codemotion Amst...
 
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
Richard Süselbeck - Building your own ride share app - Codemotion Amsterdam 2019
 
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
Eward Driehuis - What we learned from 20.000 attacks - Codemotion Amsterdam 2019
 
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 - Francesco Baldassarri  - Deliver Data at Scale - Codemotion Amsterdam 2019 -
Francesco Baldassarri - Deliver Data at Scale - Codemotion Amsterdam 2019 -
 
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
Martin Förtsch, Thomas Endres - Stereoscopic Style Transfer AI - Codemotion A...
 
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
Melanie Rieback, Klaus Kursawe - Blockchain Security: Melting the "Silver Bul...
 
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
Angelo van der Sijpt - How well do you know your network stack? - Codemotion ...
 
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
Lars Wolff - Performance Testing for DevOps in the Cloud - Codemotion Amsterd...
 
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
Sascha Wolter - Conversational AI Demystified - Codemotion Amsterdam 2019
 
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
Michele Tonutti - Scaling is caring - Codemotion Amsterdam 2019
 
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
Pat Hermens - From 100 to 1,000+ deployments a day - Codemotion Amsterdam 2019
 
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
James Birnie - Using Many Worlds of Compute Power with Quantum - Codemotion A...
 
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
Don Goodman-Wilson - Chinese food, motor scooters, and open source developmen...
 
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
Pieter Omvlee - The story behind Sketch - Codemotion Amsterdam 2019
 
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
Dave Farley - Taking Back “Software Engineering” - Codemotion Amsterdam 2019
 
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
Joshua Hoffman - Should the CTO be Coding? - Codemotion Amsterdam 2019
 

Recently uploaded

State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 

Recently uploaded (20)

Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
UiPath New York Community Day in-person event
UiPath New York Community Day in-person eventUiPath New York Community Day in-person event
UiPath New York Community Day in-person event
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 

Human vs Bot: Giocare a Sasso-Carta-Forbici - Matteo Valoriani, Antimo Musone - Codemotion Milan 2016

Editor's Notes

  1. Build and connect intelligent bots to interact with your users naturally wherever they are — from your website or app to text/SMS, Skype, Slack, Facebook Messenger, Office 365 mail, Teams and other popular services
  2. A bot is a web service that interacts with users in a conversational format. Users start conversations with your bot from any channel that you’ve configured your bot to work on (for example, Text/SMS, Skype, Slack, Facebook Messenger, and other popular services). You can design conversations to be freeform, natural language interactions or more guided ones where you provide the user choices or actions.  The conversation can utilize simple text strings or something more complex such as rich cards that contain text, images, and action buttons.
  3. Microsoft Bot Framework is a comprehensive offering that you use to build and deploy high quality bots for your users to enjoy wherever they are talking. The framework consists of the Bot Builder SDK, Bot Connector, Developer Portal, and Bot Directory. There’s also an emulator that you can use to test your bot. Connector : is a component which provides a single API for your bot to communicate across multiple client services such as Skype, Email, Slack. Builder Directory
  4. When you finish writing your bot, you need to register it, connect it to channels, and finally publish it. Registering your bot describes it to the framework, and it’s how you get the bot’s app ID and password that’s used for authentication. Bots that you register are located at My bots in the portal. After registering your bot, you need to configure it to work on channels that your users use. The configuration process is unique per channel, and some channels are preconfigured for you (for example, Skype and Web Chat). For information about configuring channels, see Configuring Channels. The framework also provides the Direct Line REST API, which you can use to host your bot in an app or website.
  5. Message typeDescription contactRelationUpdateThe channel sends this message to indicate that the user added or removed your bot from their contacts list in the channel. If the user added your bot to their contacts list, the message’s action property is set to add; otherwise, it’s set to remove.conversationUpdateThe channel sends this message to indicate that one or more users joined or left the conversation, or the topic name changed. For a list of users that joined the conversation, see the message’s addedMembers property; otherwise, see the removedMembers property. You can use this message to welcome new users to the conversation.deleteUserDataThe channel sends this message to indicate that the user wants the bot to delete all of their personally identifiable information (PII) that the bot may have saved using the User State REST API. If you receive this message, you must delete the user’s data. After you delete the user’s data, you should send them a message indicating that it’s deleted.messageThe bot or user sends this message to advance the conversation. For example, the user sends a message asking for information, and your bot replies with a message that answers the user’s question. Most messages that you send and receive will be of this type.pingThe bot is sent this message to verify that it’s URL is accessible. The bot should respond with HTTP status code 200 OK, and may respond with 401 Unauthorized or 403 Forbidden.typingThe channel or bot sends this message to indicate to the other that they’re working on a reply. Not all channels support this message. Most messages that your bot will send and receive are of type message. To reply to a user’s message, create a new Activity object and set, at a minimum, the following properties: PropertyDescriptionconversationSet this to the contents of the conversation property from the user’s message.fromSet this to the contents of the recipient property from the user’s message.localeSet this to the contents of the locale property from the user’s message, if specified.recipientSet this to the contents of the from property from the user’s message.replyToIdSet this to the contents of the id property from the user’s message.typeSet this to message.
  6. One of the key problems in human-computer interactions is the ability of the computer to understand what a person wants, and to find the pieces of information that are relevant to their intent. LUIS is designed to enable you to very quickly deploy an http endpoint that will take the sentences you send it, and interpret them in terms of the intention they convey, and the key entities like "virtual reality companies" that are present. LUIS lets you custom design the set of intentions and entities that are relevant to the application, and then guides you through the process of building a language understanding system.
  7. Hierarchical Entities  For example, a generic entity may be called “Date” and the specific children of this parent may be called “StartDate” and “EndDate” Composite Entities In a flight booking app, a user may say “Book 2 adult tickets to Paris next Monday”. In this example, we may create a composite entity called “Tickets”, including the component entities “number” and “category” to capture the number and category of tickets to be booked. If not already existing, you need to define both entities before defining the composite.
  8. Train When you "train" a model, LUIS generalizes from the examples you have labeled, and develops code to recognize the relevant intents and entities in the future Publishing a Model The next step is to deploy the models in an HTTP endpoint that will interpret the sentences we send it.