DMM-260 · Digital Marketing and AI · Week 1 · In-class assignment

Design your own IF/THEN bot

Build a simple rule-based chatbot, test it, and see why generative AI is different.

robert bestwick
0% complete

Instructions

  • ✓ DOChoose a topic from your life as a student, or a local business you know.
  • ✓ DOWrite at least 5 IF/THEN rules and 1 ELSE reply. Give your bot a creative name.
  • ✓ DOTest your bot in Part 4 with at least 3 messages. Fix rules that do not work.
  • ✕ DON'TCopy the CC-Chatty college bot from the class example. Create something original.
  • ✕ DON'TUse ChatGPT or other AI to write your rules. You are the "brain" of this bot.
  • ✓ DONE?Click Download PDF (it is named with your name), then upload the PDF to the LMS.
1

Student information

2

Choose your bot's topic

3

Write your IF/THEN rules

5 required · 3 optional

IF = the keywords the user might type. Separate several keywords with commas, e.g. price, cost, how much. THEN = what your bot replies.

4

Test your bot

0 tests
Chat with My bot

How your bot "thinks"

It checks your rules from 1 to 8. The first rule with a keyword inside the message wins. If no rule matches, it uses ELSE.

Try this

Type one message that should match, one with a spelling mistake, and one question your bot cannot answer. What happens?

5

Your bot's flowchart

Builds itself
6

Your rules table

Builds itself
#IF the message includesTHEN the bot replies
7

Reflection

2–3 sentences each, your own words

Your answers are saved in this browser while you work. In the print window, choose Save as PDF. Upload the PDF to the LMS. File name: DMM260_W1_FirstName_LastName

robert bestwickAdapted from the CC-Chatty student assignment