Bots & DevOps Donovan 12/24/2017 2:32 PM

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Multitenant Model Request/Response General Model.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Connect with life Connect with life
Windows Azure Connect Name Title Microsoft Corporation.
NEXT: Overview – Sharing skills & code.
demo Receive Inventory Export Parse and Normalize.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

Zero to DevOps Donovan
Making of the Ignite Bot
0 to DevOps. 0 to DevOps Who am I? Donovan Brown Fun Stuff 5/7/2018 Who am I? Donovan Brown Principal DevOps Manager.
MIX 09 5/29/ :31 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
DevOps for any language
Microsoft Build /16/2018 2:05 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Build smarter bots and devices by connecting to the Microsoft Graph
Microsoft Azure P wer Lunch
Automate all things! Microsoft Azure continuous deployment
Возможности Excel 2010, о которых следует знать
Confidence at speed: Visual Studio 2017 and your CI pipeline
DevOps Fundamentals Configuration Management
Title of Presentation 11/22/2018 3:34 PM
Microsoft Virtual Academy
Continuous Delivery with Visual Studio Team Services
Supercharge Microsoft Teams using Teams apps in node.js
11/23/2018 8:30 AM BRK3037 BRK3037: Dive deep on building apps and services with the Office 365 Communications Platform David Newman Senior Program Manager.
Mobile Center and VSTS:​ Better together for your Mobile DevOps
Release Management with Visual Studio Team Services
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Title of Presentation 12/2/2018 3:48 PM
Release Management with Visual Studio Team Services
Create rich, data-driven Web apps with ASP.NET 4.5 Web Forms
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
DevOps Deep Dive / DevOps in action
SharePoint 2013 Authentication with Azure – Part 1
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
WINDOWS AZURE A LAP AROUND PLATFORM THE Steve Marx
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
SharePoint 2013 Authentication with Azure – Part 2
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Title of Presentation 7/24/2019 8:53 PM
Welcome to Architect Insight 2010
Azure DevOps Integration
What’s New in Visual Studio 2012 for Web Developers
Presentation transcript:

Bots & DevOps Donovan Brown @DonovanBrown 12/24/2017 2:32 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Who am I? Donovan Brown | @DonovanBrown Fun Stuff 12/24/2017 Donovan Brown | @DonovanBrown Principal DevOps Manager Blog at DonovanBrown.com Technical YouTube Channel tinyurl.com/DonovanBrown Fun Stuff Professional Air Hockey player Highest ranking 11th in the world Competitive driver Developer for over 20 years © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

aka.ms/vstsmeetups 12/24/2017 2:32 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Session objectives and takeaways Tech Ready 15 12/24/2017 Session objectives and takeaways Session objectives: Introduce the concepts of DevOps, with considerations for bots Demonstrate how to implement these DevOps practices for bots that use the Microsoft Bot Framework Session takeaways: DevOps culture and practices can be applied everywhere Microsoft Bot Framework makes it easy to build, automate, test, and deploy bots © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Bots aren’t new – why are they blowing up? 12/24/2017 2:32 PM Bots aren’t new – why are they blowing up? Convergence of technologies Tools and intelligent services make building powerful bots accessible Ubiquity of communication channels App boom is slowing (and top apps are chat apps!) © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Bots are not artificial intelligence only 12/24/2017 2:32 PM Bots are not artificial intelligence only © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Bots are not text interface only 12/24/2017 2:32 PM Bots are not text interface only © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12/24/2017 2:32 PM What are Bots? Bots are apps with a new interface that provide more natural interactions Your Data Connector State Other Services © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Microsoft Worldwide Partner Conference 2016 12/24/2017 2:32 PM Bot Connector Conversation Canvas Message input <> output Add logic and keep track of dialogs and state Connect to people where they are +Directory for finding your bot, registration and management dashboard Web Chat Email Azure or other Facebook GroupMe Bot Builder SDK Kik Your bot code Skype Slack API, SDK calls + Intelligent Services Telegram Other services, APIs, Databases, … Natural Language Translation Bot Clipboard w entities User Preferences Twilio (SMS) … Directline… Speech Entity Extraction Bing Knowledge Image Intelligence … … … © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Cognitive Services - LUIS Identify entities and intents of messages Train through GUI or programmatically Built in LUIS intent handling in bot framework

Developer Portal https://dev.botframework.com/

Bot Builder SDKs

Demo Getting Started TechReady 23 12/24/2017 2:32 PM Create Project Create Readme to create Repo Create Build Create Release Create Azure Connection Create User Story Create Task Create Branch Associate work items Clone Repo Add project Build fails Show build Fix build associate bug Code get deployed Tour Build and RM Clone Show Build from VS Pin summaries to dashboard West US E2EDemo MyE2EHelloWorldDemo © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Getting Started C# Visual Studio http://aka.ms/bf-bc-vstemplate 12/24/2017 2:32 PM Getting Started C# Visual Studio http://aka.ms/bf-bc-vstemplate Node.js Visual Studio Code Botbuilder yeoman generator https://docs.microsoft.com/en-us/bot-framework/bot-builder-overview-getstarted © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12/24/2017 2:32 PM “DevOps is the union of people, process, and products to enable continuous delivery of value to our end users.” Donovan Brown http://bit.ly/WhatIs-DevOps © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Why DevOps for Bots? 12/24/2017 2:32 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Continuous Integration 12/24/2017 2:32 PM Continuous Integration Build It’s just a simple ASP.NET or Node.js web api! Considerations: CI for dependent services that you own that are called by the bot LUIS, Databases, external APIs Put bot configs in Environment Variables or Release definition to share the same build © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo CI TechReady 23 12/24/2017 2:32 PM Create Project Create Readme to create Repo Create Build Create Release Create Azure Connection Create User Story Create Task Create Branch Associate work items Clone Repo Add project Build fails Show build Fix build associate bug Code get deployed Tour Build and RM Clone Show Build from VS Pin summaries to dashboard West US E2EDemo MyE2EHelloWorldDemo © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Testing How do you test a bot? Considerations: Auth 12/24/2017 2:32 PM Testing Test How do you test a bot? Considerations: Auth Mocking connector, mocking LUIS calls Unit/Functional/Load testing https://www.microsoft.com/developerblog/real-life-code/2017/01/20/Bot-Framework-Unit-Testing.html https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Tests/Microsoft.Bot.Sample.Tests/AlarmBotTests.cs#L91 https://github.com/Microsoft/BotBuilder/tree/master/CSharp/Tests/Microsoft.Bot.Builder.Tests/Scripts © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo Testing TechReady 23 12/24/2017 2:32 PM Create Project Create Readme to create Repo Create Build Create Release Create Azure Connection Create User Story Create Task Create Branch Associate work items Clone Repo Add project Build fails Show build Fix build associate bug Code get deployed Tour Build and RM Clone Show Build from VS Pin summaries to dashboard West US E2EDemo MyE2EHelloWorldDemo © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Continuous Deployment 12/24/2017 2:32 PM Continuous Deployment Deploy It’s just an ASP.NET or Node.js web api! Considerations: CD for dependent services that you own that are called by the bot Updates and retraining of LUIS models and other intelligent systems Bot state Functional/performance tests X © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

LUIS – Retraining via the API 12/24/2017 2:32 PM LUIS – Retraining via the API Importing and exporting the entire LUIS application/model https://westus.api.cognitive.microsoft.com/luis/v1.0/prog/apps/{appId}/export https://westus.api.cognitive.microsoft.com/luis/v1.0/prog/apps/import?appName={appName} Bulk importing ‘labels’ then retrain the model https://westus.api.cognitive.microsoft.com/luis/v1.0/prog/apps/{appId}/examples https://westus.api.cognitive.microsoft.com/luis/v1.0/prog/apps/{appId}/train © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo CD TechReady 23 12/24/2017 2:32 PM Create Project Create Readme to create Repo Create Build Create Release Create Azure Connection Create User Story Create Task Create Branch Associate work items Clone Repo Add project Build fails Show build Fix build associate bug Code get deployed Tour Build and RM Clone Show Build from VS Pin summaries to dashboard West US E2EDemo MyE2EHelloWorldDemo © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Telemetry – Learn from users 12/24/2017 2:32 PM Telemetry – Learn from users Telemetry App Insights! Considerations: PII, privacy and consent Identifying paths in the conversation, learn and improve – conversational A/B Testing Analyze whole conversation, not just last message Reporting / querying / dashboards https://github.com/Microsoft/BotBuilder-Samples/tree/master/CSharp/core-AppInsights https://github.com/CatalystCode/bot-fmk-dashboard https://blogs.msdn.microsoft.com/jamiedalton/2016/07/11/ms-bot-framework-formflow-build-and-deploy-a-bot-with-ease/ X X © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12/24/2017 2:32 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12/24/2017 2:32 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12/24/2017 2:32 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12/24/2017 2:32 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12/24/2017 2:32 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12/24/2017 2:32 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12/24/2017 2:32 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Where to find docs/samples 12/24/2017 2:32 PM Where to find docs/samples Bot framework: www.botframework.com https://aka.ms/botcourse https://github.com/nzthiago/BotInsightsTests Code samples: https://github.com/Microsoft/BotBuilder-Samples https://github.com/Microsoft/BotBuilder DevOps: https://channel9.msdn.com/Series/DevOps-Fundamentals https://microsoft.github.io/PartsUnlimitedMRP/ https://microsoft.github.io/PartsUnlimited/ © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

In review: session objectives and takeaways Tech Ready 15 12/24/2017 In review: session objectives and takeaways Session objectives: Introduce the concepts of DevOps, with considerations for bots Demonstrate how to implement these DevOps practices for bots that use the Microsoft Bot Framework Session takeaways: DevOps culture and practices can be applied everywhere Microsoft Bot Framework makes it easy to build, automate, test, and deploy bots © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12/24/2017 Q&A © 2015 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12/24/2017 2:32 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.