talking with bots - meetup presentation
TRANSCRIPT
Aldis Ērglis
Data platform
Local community
www.meetup.com
Riga Power BI GroupOfficial Microsoft Power BI User Group
Kāpēc mēs runājam par botiem tieši tagad?• Jauni komunikāciju kanāli (mobilie)• Pieejamākas tehnoloģijas
Coming Soon – Drīzumā
Microsoft Bot Builder (SDKs)
Microsoft Bot DirectoryKnowledge & Intelligence Services
Vision
Web Search
Language
Speech
Knowledge
…ML
Public APIs (Cognitive Services)
Dialog Manager
Knowledge & Action Graph
EntityPrivate APIs
Microsoft Bot Connector 4
3
2
1
Add smarts to your bot
Build a great bot
Make your bot discoverable
Connect your bot to channels
Conv
ersa
tion
as a
Pl
atfo
rm
Conversation as a Platform
Your Bot Framework Bot
Bot Connector Bot DirectoryBot Builder SDKsConnect your bot(s) to text/sms, Office 365 mail, Skype, Slack, and other services.
Build great dialogs within your Node.js- or C#-based bot
Try, use, and add published bots to the world’s top conversation experiences
• Register, connect, publish and manage your bot through the bot dashboard
• Message routing• Automatic translation to
30+ languages• User and state
management• Embeddable web chat
control• Debugging tools
• Open source SDK on Github
• From simple built-in prompts and command dialogs to simple to use yet sophisticated ‘FormFlow’ dialogs
• Libraries, samples and tools to make a great conversationalist
• Chat emulator• Leverage related services
available in Cognitive Services
• Public directory of bots registered and approved with Bot Framework
• Users can try your bot from the directory via the web chat control
• Users can discover and add your bot to the channels on which it is configured
Bot Framework Components
Bot Connector Basics
BOTS
• Register• Configure
Channels• Test• Manage
Developer Portal
Microsoft BOT FrameworkDev.botframework.com
Reģistrēt BOTuDokumentācijaBOTu direktorija
C# and Node.js• Dialogs to model a
conversation• Dialogs are reusable• Conversations are scalable to multiple
machines• Dialog state is persisted in Bot
Connector (per-user, per-session, per- user+session)
• Types of Dialogs:• Built-in prompts• Yes/No, String, Number, Choices
• Natural language understanding (LUIS)• Form slot filling (branching,
disambiguation, multi-turn)• Profile (e.g., home address)
Bot Builder SDKs
Public Directory of Bot Framework Bots• Users can discover, try,
and add bots to the conversation experiences on which the bot is configured (no app required)
• Bots are public at developer discretion; bots must be submitted for review in order to appear in the directory
• Searchable
Bot Directory
BOT arhitektūra
Logic
Bot SDK C#, Node.JS
BOT
WS LUIS
Boti nav tikai AIBoti var tikt izmantotiVienkāršu komandu izpildei
Piemēram:Paroles resetsUzziņu iegūšanaAtgādinājuma uzlikšana
Boti tas nav tikai teksta apmaiņa
Boti var saņemt un sūtītNe tikai teksta veida Infomrāciju
Piemēram:Pogas, karuseļi,Bildes, audio
Tas nav tikai NLP (Natural Language processing)Boti var pildīt vienkāršaskomandas
Piemēram:Azure resursu pārvaldībasbots.
Kas ir Boti?• Aplikācijas ar jaunu interfeisu• Ātrāka pieeja • Pieejama starp dažādām platformām• Viegli izveidot un publicēt
DEMO
Microsoft BOT Framework
1. Create your empty Bot and publish to get your URL2. Register your Bot with the Bot Connector3. Apply your Bot Connector keys to your web.config4. Verify with the test channel in the dev portal5. Actually write your Bot’s logic6. Test locally & in the cloud with Bot Framework
Emulator7. Configure channels for your Bot 8. Share
Building a Bot
Development environmentVisual Studio Code
Bot Framework emulator
Dev.botframework.com Skype
Web App
Deploy
C#, Node.js
DEMO
Thank you!