Return to Video

Sandbox

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

more » « less
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
Show all
  • Revision 1 = provided subtitles for Lecture 1.2 of Prof. Scott Plous' Social Psychology course

  • Revision 1 = provided subtitles for Lecture 1.2 of Prof. Scott Plous' Social Psychology course

  • Revision 1 = provided subtitles for Lecture 1.2 of Prof. Scott Plous' Social Psychology course

English subtitles

Incomplete

Revisions Compare revisions