talking with bots - meetup presentation

25
Aldis Ērglis Data platform

Upload: aldis-erglis

Post on 13-Apr-2017

48 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Talking with bots  - meetup presentation

Aldis Ērglis

Data platform

Page 2: Talking with bots  - meetup presentation

Local community

www.meetup.com

Riga Power BI GroupOfficial Microsoft Power BI User Group

Page 3: Talking with bots  - meetup presentation

Kāpēc mēs runājam par botiem tieši tagad?• Jauni komunikāciju kanāli (mobilie)• Pieejamākas tehnoloģijas

Page 4: Talking with bots  - meetup presentation

Coming Soon – Drīzumā

Page 5: Talking with bots  - meetup presentation
Page 6: Talking with bots  - meetup presentation

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

Page 7: Talking with bots  - meetup presentation

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

Page 8: Talking with bots  - meetup presentation

Bot Connector Basics

Page 9: Talking with bots  - meetup presentation

BOTS

Page 10: Talking with bots  - meetup presentation

• Register• Configure

Channels• Test• Manage

Developer Portal

Page 11: Talking with bots  - meetup presentation

Microsoft BOT FrameworkDev.botframework.com

Reģistrēt BOTuDokumentācijaBOTu direktorija

Page 12: Talking with bots  - meetup presentation

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

Page 13: Talking with bots  - meetup presentation

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

Page 14: Talking with bots  - meetup presentation

BOT arhitektūra

Logic

Bot SDK C#, Node.JS

BOT

WS LUIS

Page 15: Talking with bots  - meetup presentation

Boti nav tikai AIBoti var tikt izmantotiVienkāršu komandu izpildei

Piemēram:Paroles resetsUzziņu iegūšanaAtgādinājuma uzlikšana

Page 16: Talking with bots  - meetup presentation

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

Page 17: Talking with bots  - meetup presentation

Tas nav tikai NLP (Natural Language processing)Boti var pildīt vienkāršaskomandas

Piemēram:Azure resursu pārvaldībasbots.

Page 18: Talking with bots  - meetup presentation

Kas ir Boti?• Aplikācijas ar jaunu interfeisu• Ātrāka pieeja • Pieejama starp dažādām platformām• Viegli izveidot un publicēt

Page 19: Talking with bots  - meetup presentation
Page 20: Talking with bots  - meetup presentation

DEMO

Page 21: Talking with bots  - meetup presentation

Microsoft BOT Framework

Page 22: Talking with bots  - meetup presentation

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

Page 23: Talking with bots  - meetup presentation

Development environmentVisual Studio Code

Bot Framework emulator

Dev.botframework.com Skype

Web App

Deploy

C#, Node.js

Page 24: Talking with bots  - meetup presentation

DEMO

Page 25: Talking with bots  - meetup presentation

Thank you!