1 of 13

Chatbot

What are they?

(1.30 minutes)

2 of 13

4.2 Let’s Chat

3 of 13

4 of 13

New block: Ask/ Answer

Answer stores user’s input

Note: If sprite is hidden or attached to a backdrop,

the text still shows up, above where user types answer.

5 of 13

New blocks: Join

6 of 13

  1. Greet User

Answer stores the last response

Hi Martin

What’s up Martin?

7 of 13

Branch on answer:

Questions:

How old are you?

What is your favorite food? …

What is your favorite color? …

What is your favorite team? …

Can you think of others?

8 of 13

Branch on answer:

Idea! You could use a broadcast, if lots of things will change.

9 of 13

2. Open Ended Responses

Canned responses for open ended questions.

  • Interesting!
  • Do you know how many people say that!
  • If I had a dollar for everytime I heard that…
  • Your not the first person to say that!
  • Why does everyone keep saying that!
  • That is the first time anyone has ever said that to me!

Can you think of others?

Boolean Responses

10 of 13

3. Input Validation

Repeat Until Flowchart

Loops until 20 is typed into answer

11 of 13

Ask/ Answer/ Join

Open ended responses

Input validation

12 of 13

Your Turn: Converse with a sprite

Create a sprite(s) and backdrop.

What will you talk to your sprite about?

13 of 13

Innovative ChatBots

Dementia Bot

Insomnia Bot

Zootopia Disney Bot

Marvel Chatbot

Unicef Chatbot

Medical Assistant

Real estate bot

NBC politics Bot

Joke bot

Alice Chatbot