[MUSIC PLAYING]
CATHY PEARL: Have
you ever stopped
to think about how many amazing
things you could do and develop
for the Google Assistant?
Want to build the
next cool thing?
Ready to start coding?
Whoa, Nellie.
Not so fast.
Before you start developing,
you've got to start designing.
And the first step in designing
a conversational system
is something called
a sample dialog.
I'm going to tell
you how to design
a sample dialog in 60 seconds.
Sample dialogues are basically
just a possible back and forth
between a user and the system.
They're like movie scripts.
And just like a movie
script, after you write them,
you do a table read--
read them out loud.
I'll show you an example.
I'll be playing the
role of the user.
CATHY PEARL 2: And
I'll be playing
the role of the Assistant.
CATHY PEARL: OK, Google.
Talk to Cool Animal Facts.
CATHY PEARL 2: Welcome
to Cool Animal Facts.
What animal would you
like to know about?
CATHY PEARL: Penguins.
CATHY PEARL 2: Sure, penguins.
Would you like to know
about their habitat
or what they like to eat?
CATHY PEARL: Oh, what
they like to eat.
CATHY PEARL 2:
Penguins can eat up
to 13 pounds of fish,
krill, and squid a day.
Would you like to hear
about where penguins live?
CATHY PEARL: I'm done, thanks.
CATHY PEARL 2: Sure.
Thanks for talking
to Cool Animal Facts.
Goodbye.
CATHY PEARL: See?
It's easy.
Spend some time writing a
bunch of sample dialogues
before you start coding.
Don't forget to include things
like handling unexpected user
responses, like unicorns.
CATHY PEARL 2: Psst.
Hate to break it to you, but
that's not a real animal.
CATHY PEARL: Want to learn more?
We've got guidelines.
Check them out at
Actions.Google.com/Design.
[MUSIC PLAYING]
