Getting Started with Microsoft Bot Framework

Post on 16-Apr-2017

403 views 2 download

transcript

Getting Started with Microsoft Bot FrameworkSarah SextonTechnical Evangelist, Microsoft, Chicago@Saelia

Installs Node.js (and npm) GIT VS Code

Signups needed MSID BotFramework.com LUIS – Language Understanding Intelligent Services

Technology Needed today in Node

The Brains of your bot. Manages your bots conversations with

users across multiple channels

Universal Bot

Connects a UniversalBot to multiple channels via the Bot Framework.

Chat & Console Connector

Demo: SimpleBot

• JavaScript Library by GalaxyKate / Kate Compton• Multipurpose text-expansion library• Make twitterbots, artbots, games, and stories• “Super-simple tool and language to generate

text” – tracery.io• Uses Text Replacement Rules

What is Tracery?

TraceryBot Output Examples“Dramatically provide key technologies inside of win-win growth strategies.”

“Efficiently envision win-win technologies through streamlined cloud solutions.”

http://tracerybot.azurewebsites.netSarah Sexton

http://TraceryBot.azurewebsites.net

The Files

• .gitignore• README.md• package.json• index.html• app.js

GitHub Repository

.gitignore

README.md

package.json

index.html

The Code

app.js – “header” info

app.js – Create Chat Bot

app.js – Hello World “main”

Dialogs = Routing

All bots will have at least one root '/' dialog• Dialog Handlers• Waterfall• Closure• Dialog Object• SimpleDialog

Dialogs = Routing

app.js – Hello World “main”Hello, world!Hello, world!Hello, world!

app.js – ReplacementGrammar Hello, world!

Hello, world!Hello, world!

app.js – More Replacementshello, world!hello, world!hello, world!

app.js – ReplacementModifiers Hello, world!

Hello, world!Hello, world!

app.js – Modifiers.capitalize.s.a

app.js – Replacement OptionsAloha, planet!

Hello, universe!Hello, world!

Goodbye, world!

app.js – Run With It

app.js – Run With It

Seamlessly provide disruptive growth strategies with agile scenarios.

Completely bring disruptive cloud solutions from self-sustaining metrics.

Efficiently administrate cutting-edge apps within extensible growth strategies.

Seamlessly administrate robust metrics of cross-platform metrics.

Demo: TraceryBot

Call to Action:

Click icon to add picture

Sarah SextonTechnical Evangelist, Microsoft, Chicago@Saelia

• steps: http://aka.ms/SarahSexton• GitHub.com/SarahSexton/

TraceryBot• TraceryBot.azurewebsites.net• slides: http://aka.ms/BotFramework• http://dev.botframework.com

Thank you!

Click icon to add picture

Sarah SextonTechnical Evangelist, Microsoft, Chicago@Saelia

© Copyright Microsoft Corporation. All rights reserved.