Worksheet Chatbots
Worksheet Chatbots
In this project you will make a chatbot that can answer questions
about a topic of your choice.
This project worksheet is licensed under a Creative Commons Attribution Non-Commercial Share-Alike License
http://creativecommons.org/licenses/by-nc-sa/4.0/
13. Do that again for all of the things in your list from Step 2
The words you choose don’t really matter, as long as you understand
what they mean.
17. Repeat until you’ve got five examples of how to ask that question.
18. Repeat until you’ve got at least five examples in every bucket
The computer will learn from patterns in the examples you’ve given it,
such as the choice of words, and the way questions are structured. These
will be used to be able to recognise new questions.
The biggest problem with this is that if you ask it something unexpected,
it will still give you one of the answers you’ve written
Now that you’ve finished, why not give one of these ideas a try?
Can you add more topics to your chatbot, so that there are more types
of question that it can answer?
If someone asks the same question more than once, they’ll get the
exact same answer every time. Can you update your Scratch code so
that it varies the answers each time a little? Or starts the answer with
“You’ve asked me this before, but”
Can you update your Scratch script so that it replies with a question? It
can then recognise the answer to that question, in a similar way to
how you made it recognise questions.
Click on the “Describe your model” button on the “Learn & Test” page
to learn more about how the model you’ve trained was created.