3.5. Quiz
Quiz 3: Contextual Understanding
Overview
Your goal is to create a chatbot that talks about movies. Here is a sample dialogue:
Your chatbot aims to collect user information by asking the following:
The latest movie that the user watched (
#3-4
).A contextualized question regarding the latest movie (
#5-6
).A question regarding the genre of the latest movie (
#7-10
).
Your chatbot should give an appropriate response to every user response. For this assignment, you must use all of the following:
An ontology covering common movie genres and a branch of movies that you target,
At least one macro,
At least one regular expression (can be used inside a macro).
Task 1
Create a JSON file
ontology_quiz3.json
under theresources
directory.Update them to design a dialogue flow for the chatbot.
Task 2
Create a PDF file quiz3.pdf
that describes the following:
Sample dialogues that your chatbot can conduct.
Explanations of how the ontology, macro(s), and regular expression(s) are used for contextual understanding in your chatbot.
Submission
Commit and push
quiz3.py
to your GitHub repository.Submit
quiz3.pdf
to Canvas.
Last updated