Sandbox
-
0:00 - 0:02you want to make your Bott writing
-
0:02 - 0:04experience much more enjoyable you're
-
0:04 - 0:05not gonna want to miss this episode of
-
0:05 - 0:07the AI show where Tony takes us through
-
0:07 - 0:11the new bot framework emulator new and
-
0:11 - 0:14improved shiny amazing you're not gonna
-
0:14 - 0:14want to miss it
-
0:14 - 0:16take a look
-
0:16 - 0:19[Music]
-
0:19 - 0:21hello and welcome to this episode of the
-
0:21 - 0:22AI show we're going to talk about the
-
0:22 - 0:25new quad emulator doing it right that is
-
0:25 - 0:27right how you doing Tony I'm doing well
-
0:27 - 0:28how are you doing good tell us what you
-
0:28 - 0:29are and what you do so yeah my name is
-
0:29 - 0:31Tony and Zion oh and I am one of the
-
0:31 - 0:33developers on the Microsoft bot
-
0:33 - 0:35framework and Azure about service team
-
0:35 - 0:36and over the past few months I've been
-
0:36 - 0:38working a lot on the new bot for America
-
0:38 - 0:40emulator and I'm pretty excited to show
-
0:40 - 0:41you guys some of the new features we
-
0:41 - 0:43have alright let's take a look okay and
-
0:43 - 0:45for any of those who don't know the bot
-
0:45 - 0:48framework emulator or the you know
-
0:48 - 0:49Microsoft off framework check us out on
-
0:49 - 0:52our website at Deb ball framework comm
-
0:52 - 0:55also on Azure under products in AI and
-
0:55 - 0:57machine learning and then we also have
-
0:57 - 0:59some get started getting started
-
0:59 - 1:01resources and Doc's on Doc's table
-
1:01 - 1:03Microsoft comm fantastic so you got all
-
1:03 - 1:06the deets now let's take a look at all
-
1:06 - 1:08the bits ok so here's kind of this
-
1:08 - 1:11end-to-end development workflow we have
-
1:11 - 1:13that's around developing a bot from
-
1:13 - 1:15start to finish and we've centered this
-
1:15 - 1:16around this new suite of tools we have
-
1:16 - 1:18called bot builder tools nice
-
1:18 - 1:20appropriate lead of course okay and so
-
1:20 - 1:22the emulator doesn't cover all these
-
1:22 - 1:25areas but what it does cover is planning
-
1:25 - 1:27testing and refining your BOTS and it
-
1:27 - 1:29excels at those pretty well so yeah
-
1:29 - 1:31because like once you start building
-
1:31 - 1:32BOTS the first one you build you're like
-
1:32 - 1:34oh now I get this I ever actually
-
1:34 - 1:36planned this like I do all my software
-
1:36 - 1:38which takes a bit of time yeah and these
-
1:38 - 1:39tools are designed to help with that
-
1:39 - 1:41correct all right let's say ok so yeah
-
1:41 - 1:45so we have this new transcript mode and
-
1:45 - 1:47presentation mode and transcripts which
-
1:47 - 1:49help you basically view mocked
-
1:49 - 1:50conversations as they would look in
-
1:50 - 1:51production without having to write a
-
1:51 - 1:53single line of code so that's pretty
-
1:53 - 1:56cool for testing you know we have all
-
1:56 - 1:58the core functionalities of the old bot
-
1:58 - 2:00emulator which basically allows you to
-
2:00 - 2:02set debug set breakpoints in your code
-
2:02 - 2:04and have a full debugging experience and
-
2:04 - 2:07refining your bot we have this really
-
2:07 - 2:09cool piece of UI called the inspector
-
2:09 - 2:10panel which allows you to look at all
-
2:10 - 2:12the underlying structure of your
-
2:12 - 2:14messages to and from your bot and your
-
2:14 - 2:16network traffic and all that stuff so
-
2:16 - 2:18you can actually get in there and debug
-
2:18 - 2:19yeah you can see what's going on behind
-
2:19 - 2:22the scenes everything ok so now that
-
2:22 - 2:23I've talked about all this let me kind
-
2:23 - 2:25of dive in and show you what I'm talking
-
2:25 - 2:28about here's to it so here we are in the
-
2:28 - 2:31new emulator welcome page you can see
-
2:31 - 2:33we've given it a pretty significant face
-
2:33 - 2:35for any of those who have used the old
-
2:35 - 2:37one and so basically what I'm gonna do
-
2:37 - 2:39is show you transcripts and what those
-
2:39 - 2:41are because they're a brand new concept
-
2:41 - 2:44so let's go ahead and open this
-
2:44 - 2:47transcript in the left over here and now
-
2:47 - 2:48what you'll see is it has populated this
-
2:48 - 2:51web chat window with basically every
-
2:51 - 2:54every conversation or every message in
-
2:54 - 2:56this conversations history just like we
-
2:56 - 2:58had this conversation right here this is
-
2:58 - 3:00literally like wire framing your old old
-
3:00 - 3:02apps that we used to have Windows with
-
3:02 - 3:04right right this is like wire framing a
-
3:04 - 3:05chapter right exactly so what a
-
3:05 - 3:07transcript is it's basically just a
-
3:07 - 3:08record of a conversation you had with a
-
3:08 - 3:11bot that the emulator can understand is
-
3:11 - 3:12it what kind of format are we talking
-
3:12 - 3:12about
-
3:12 - 3:16no it's basically just a JSON array of
-
3:16 - 3:18just a bunch of conversation activities
-
3:18 - 3:19so you can literally type one up and
-
3:19 - 3:21notepad um still I'll get to that later
-
3:21 - 3:23that will be with chat down and that
-
3:23 - 3:25converts to a transcript but transcripts
-
3:25 - 3:27are actually Auto generated by the
-
3:27 - 3:29emulator so I'll show you how to do that
-
3:29 - 3:32fantastic so basically let's open up a
-
3:32 - 3:37live chat so this means I'm talking with
-
3:37 - 3:38a remote bot right here we can see it's
-
3:38 - 3:40talking to test spot bot framework comm
-
3:40 - 3:43so test bot is just gonna you know F go
-
3:43 - 3:45back whatever I say hey test bot will
-
3:45 - 3:46say hey you know I can give it a smiley
-
3:46 - 3:49face echo stuff like that
-
3:49 - 3:51and basically getting a transcript file
-
3:51 - 3:53from this is as easy as going up here
-
3:53 - 3:56hitting save transcript as and then you
-
3:56 - 4:00just say you know just made this and we
-
4:00 - 4:02can save it we can see it populated in
-
4:02 - 4:04this File Explorer window to the left
-
4:04 - 4:06and we can click that and open it and
-
4:06 - 4:08boom there's the conversation we just
-
4:08 - 4:11had with test box cool so and then one
-
4:11 - 4:13other way to do it is with our new tool
-
4:13 - 4:16called chat down so real quick I'll show
-
4:16 - 4:18you how easy it is to create a
-
4:18 - 4:20transcript from a chat file with chat
-
4:20 - 4:22down so basically what we want to do is
-
4:22 - 4:25just say okay what does our users name
-
4:25 - 4:27gonna be that's gonna be me we're gonna
-
4:27 - 4:29say what is our BOTS name gonna be
-
4:29 - 4:31that's gonna be demo BOTS I guess and
-
4:31 - 4:33then basically it's as easy as writing
-
4:33 - 4:35back and forth what you want each person
-
4:35 - 4:38to say it at one another I see yeah so
-
4:38 - 4:41I'll say you know hey how's it going
-
4:41 - 4:46demo a lot so it's a typo okay and then
-
4:46 - 4:50demo BOTS gonna respond with hey hey I'm
-
4:50 - 4:55doing really well what can I help typing
-
4:55 - 4:58man typing is so hard we have BOTS that
-
4:58 - 5:01speak hey I'm doing really well
-
5:01 - 5:05what can I assist you with today and you
-
5:05 - 5:08know I'm just gonna say oh I was just
-
5:08 - 5:11wondering what you think of the demo so
-
5:11 - 5:15far well you're a fast typer though it
-
5:15 - 5:17helps you know and demo BOTS is going to
-
5:17 - 5:21say you know well to be honest I think
-
5:21 - 5:28this is probably the best the best demo
-
5:28 - 5:31I've ever seen nice
-
5:31 - 5:33you know demo BOTS really nice of course
-
5:33 - 5:37and so we're gonna save this in our
-
5:37 - 5:40folder here called we'll just call demo
-
5:40 - 5:43dot chat so a chat file is what is
-
5:43 - 5:46consumed by our tool chat down and chat
-
5:46 - 5:48downs not included in the emulator but
-
5:48 - 5:50you can install via NPM and stuff like
-
5:50 - 5:52that's really easy so we can go back to
-
5:52 - 5:54our folder here we can see the demo chat
-
5:54 - 5:56is in there and all we have to do is
-
5:56 - 5:59chat down the name of the chat file we
-
5:59 - 6:02want to convert pipe it into the name of
-
6:02 - 6:03the transcript file we want to generate
-
6:03 - 6:06nice and then we just wait a little bit
-
6:06 - 6:09and it's done set fast and then we go we
-
6:09 - 6:11can see that demo transcript is in our
-
6:11 - 6:13little File Explorer we can click that
-
6:13 - 6:16boom there's the conversation nice so it
-
6:16 - 6:19was even smarter than my dumb text file
-
6:19 - 6:21idea right yeah I see like you thought
-
6:21 - 6:22about yeah we thought about it you know
-
6:22 - 6:24we have everything covered so a couple
-
6:24 - 6:25of questions about this when you're
-
6:25 - 6:27doing these wire is there a way to do
-
6:27 - 6:29like the cards in line as well yeah so
-
6:29 - 6:30you can so just for the sake of time I
-
6:30 - 6:33just did a purely text-based demo but
-
6:33 - 6:35yeah you can do you can send you a
-
6:35 - 6:37little typing notifications and delays
-
6:37 - 6:39and all so yeah rich content cards like
-
6:39 - 6:40adaptive cards awesome
-
6:40 - 6:41so what other features are gonna show um
-
6:41 - 6:44so basically some of our we still have
-
6:44 - 6:46some of our core functionality so I just
-
6:46 - 6:48want to show you that you know let's
-
6:48 - 6:50switch to another bot here actually oh
-
6:50 - 6:51well actually before I do that let me
-
6:51 - 6:53show you presentation mode so let's say
-
6:53 - 6:56you know you just mocked up a real real
-
6:56 - 6:57quick conversation you didn't have time
-
6:57 - 6:58to work on this concept you were
-
6:58 - 6:59thinking about but you wanted to show
-
6:59 - 7:00your team
-
7:00 - 7:03new bad idea would look like and so you
-
7:03 - 7:04know you don't want to show them this UI
-
7:04 - 7:06you want to show them boom this you know
-
7:06 - 7:08presentation mode you just hit
-
7:08 - 7:09presentation it goes into this
-
7:09 - 7:11full-screen kind of cinematic mode and
-
7:11 - 7:13it kind of just shows you just the focus
-
7:13 - 7:16of the chat window so I love it so when
-
7:16 - 7:17you're wireframing and showing the
-
7:17 - 7:19stakeholders they can be like yeah I
-
7:19 - 7:20totally love this conversation and then
-
7:20 - 7:22and you can see how fast I just whipped
-
7:22 - 7:24up that transcript and you know we went
-
7:24 - 7:26from a text file to this in like two
-
7:26 - 7:29minutes loved it so pretty fast okay so
-
7:29 - 7:31let's go look at some of the other
-
7:31 - 7:33functionality we have I'll open up this
-
7:33 - 7:38cafe bot the cafe bot is running locally
-
7:38 - 7:40so just to show you some of the core
-
7:40 - 7:41functionality we still have I will show
-
7:41 - 7:43you that we can still put breakpoints in
-
7:43 - 7:45our code here so here's just the source
-
7:45 - 7:47code and I'll just break on when we get
-
7:47 - 7:50a response back from Louis and then I'll
-
7:50 - 7:54talk to the bot Hey and now we can see
-
7:54 - 7:56that we hit that breakpoint we can step
-
7:56 - 7:58over and we can see the hey we got this
-
7:58 - 8:01Louis result here with it's kind of
-
8:01 - 8:04small but we got this Louis result with
-
8:04 - 8:07all these entities and stuff like that
-
8:07 - 8:09cool okay and then we'll just go through
-
8:09 - 8:13that remove this breakpoint okay and
-
8:13 - 8:15then some of the other functionality we
-
8:15 - 8:17have is we can open two simultaneous
-
8:17 - 8:20live chats at a time to the same bot so
-
8:20 - 8:22that's pretty cool you can debug you
-
8:22 - 8:24know side by side I can split this over
-
8:24 - 8:25to the other tab and I can you know have
-
8:25 - 8:28a little conversation over here and have
-
8:28 - 8:30a completely you know conversation or a
-
8:30 - 8:32completely independent conversation in
-
8:32 - 8:33the left window that's nice so if you're
-
8:33 - 8:35lonely you can open his video you can
-
8:35 - 8:37you can feel like you're you know so
-
8:37 - 8:38popular awesome that's how I'm gonna
-
8:38 - 8:43feel okay and then one final thing we'll
-
8:43 - 8:45show you guys is this new services tab
-
8:45 - 8:47we have over here holy cow that's
-
8:47 - 8:49amazing yeah so you can connect things
-
8:49 - 8:51like Louis and Q&A maker and even to the
-
8:51 - 8:53a Shabbat service with these services
-
8:53 - 8:55and basically what you do is you you
-
8:55 - 8:58know you just open this you type in the
-
8:58 - 8:59name of your Louis app the application
-
8:59 - 9:01ID the author and key version etc and
-
9:01 - 9:04then you submit and now your bot can key
-
9:04 - 9:07off of these new Louis traces so let's
-
9:07 - 9:09take a look at this I already have Louis
-
9:09 - 9:11hooked up to this so if we say you know
-
9:11 - 9:14let's start over this conversation
-
9:14 - 9:16and then I can just say you know hey and
-
9:16 - 9:19if we look in this log over here to the
-
9:19 - 9:21right we can see that oh we have this
-
9:21 - 9:24new thing called a Lewis trace and so
-
9:24 - 9:25now we can click on this Lewis trace and
-
9:25 - 9:29in this inspector it has the model name
-
9:29 - 9:33of my Lewis model it has the app ID and
-
9:33 - 9:35it has all the results from Lois saying
-
9:35 - 9:37oh here's what you scored here's the top
-
9:37 - 9:43scoring intent okay and so well that's
-
9:43 - 9:46super handy I mean like because usually
-
9:46 - 9:47it just goes and it comes back and like
-
9:47 - 9:49what happened and you got to look at the
-
9:49 - 9:51logs over there but this is hooking
-
9:51 - 9:53directly up to the service and then
-
9:53 - 9:55getting all of the the logs alright so
-
9:55 - 9:56it's no longer a black box that you just
-
9:56 - 9:58kind of have to you know cross your
-
9:58 - 9:59fingers and hope everything works out
-
9:59 - 10:02which I do with all myself right and so
-
10:02 - 10:04on the left here what's really cool is
-
10:04 - 10:06that I'm you can click this Louis link
-
10:06 - 10:08and it will deep link right into the
-
10:08 - 10:10language model in the Lewis portal so
-
10:10 - 10:12you can tweak your language models you
-
10:12 - 10:16know right here in the Louis portal but
-
10:16 - 10:17I know what you're saying you're saying
-
10:17 - 10:20oh you know Tony I really don't want to
-
10:20 - 10:21leave your beautiful new app that's
-
10:21 - 10:23probably just saying no I didn't want to
-
10:23 - 10:25yeah exactly we just gave it a such a
-
10:25 - 10:27nice UI I don't want to leave it's so
-
10:27 - 10:29it's so awesome and sleek and we're
-
10:29 - 10:30saying okay yeah we kind of we kind of
-
10:30 - 10:33feel that way too so what you can do now
-
10:33 - 10:36is let's say we're gonna start over in
-
10:36 - 10:38this conversation and we're gonna say
-
10:38 - 10:41something like howdy partner to the bot
-
10:41 - 10:46oh okay it actually understood that
-
10:46 - 10:49howdy there
-
10:49 - 10:51okay so it says sorry I do not
-
10:51 - 10:53understand that so we're gonna go and
-
10:53 - 10:55we're gonna click on this Lewis trace
-
10:55 - 10:58and we're gonna see that it scored none
-
10:58 - 10:59as the highest intent so what we're
-
10:59 - 11:01gonna do is mark that as a greeting Wow
-
11:01 - 11:04yeah and so now you'll see train light
-
11:04 - 11:06up over here in the corner we can now
-
11:06 - 11:09train training it was successful we can
-
11:09 - 11:12now publish this model and so it just
-
11:12 - 11:13went and published that so now if we
-
11:13 - 11:17start over we should be able to say
-
11:17 - 11:20howdy there
-
11:21 - 11:23hello so it knows it's a greeting so
-
11:23 - 11:25yeah that's something we're really
-
11:25 - 11:27excited about and that's our new plug-in
-
11:27 - 11:29model and a lot of developers are going
-
11:29 - 11:31to be able to create these custom traces
-
11:31 - 11:33that they'll be able to key off of and
-
11:33 - 11:34present their own UI in the inspector
-
11:34 - 11:37panel all right Tony thanks so much for
-
11:37 - 11:38spending some time with us we'll be
-
11:38 - 11:40learning all about the bot framework
-
11:40 - 11:42emulator which is pretty cool you can do
-
11:42 - 11:43ton of things in it thanks so much for
-
11:43 - 11:45watching we'll see you next time take
-
11:45 - 11:46care
-
11:46 - 0:00[Music]
- Title:
- Sandbox
- Description:
-
You can use this Sandbox to try out things with the Amara tool.
The video that is primarily streaming here is http://www.youtube.com/watch?v=ZU2kyr9jRkg , which is completely blank. But you can go to the URLs tab to add the URL of another video and make it primary.
Please remember to download your subtitles if you want to keep them, as they will get deleted - and the streaming URL reverted to the blank video if you changed it - after a week or two,
- Video Language:
- English
- Team:
- Captions Requested
- Duration:
- 01:46:39
Claude Almansi edited English subtitles for Sandbox | ||
Claude Almansi edited English subtitles for Sandbox | ||
Claude Almansi edited English subtitles for Sandbox | ||
Claude Almansi edited English subtitles for Sandbox | ||
Claude Almansi edited English subtitles for Sandbox | ||
koma edited English subtitles for Sandbox | ||
koma edited English subtitles for Sandbox | ||
Claude Almansi edited English subtitles for Sandbox |
Claude Almansi
Revision 1 = provided subtitles for Lecture 1.2 of Prof. Scott Plous' Social Psychology course
Claude Almansi
Revision 1 = provided subtitles for Lecture 1.2 of Prof. Scott Plous' Social Psychology course
Claude Almansi
Revision 1 = provided subtitles for Lecture 1.2 of Prof. Scott Plous' Social Psychology course