Quiz 2: Dialogue Graph
You run a hair salon and recently adopted a dialogue system to take a call from a customer and book a service for the customer:
Your salon provides three services: haircut, hair coloring, and perms. Your system should reject any other service request from the customer:
Your system should understand the following dates: Monday ~ Saturday. The time is always followed by the date with the following format: <number><space><AM|PM>
:
Only the following times and dates are available for the specific services:
Haircut:
Monday 10 AM, 1 PM, 2 PM
Tuesday: 2 PM
Hair coloring:
Wednesday: 10 AM, 11 AM, 1 PM
Thursday: 10 AM, 11 AM
Perms
Friday: 10 AM, 11 AM, 1 PM, 2 PM
Saturday: 10 AM, 2 PM
Thus, your system should not schedule an appointment for any other slots:
Make sure your system does not throw an exception in any situation.
Update the transitions
to design a dialogue flow for the above dialogue system.
Create a PDF file quiz2.pdf
that describes the limitations of your system.
Commit and push quiz2.py
to your GitHub repository.
Submit quiz2.pdf
to Canvas.