Tuesday, November 29, 2011

A better way to answer our #1 question

You probably know that Emma's most frequently asked question is some variation of "What are your hours?" Until recently, she would respond by reading a summary of our hours. This is a rather long answer and it's not always correct, especially around the Holidays. When a user recently asked, "Are you open tomorrow?" on the day before a holiday, I began trying to program Emma to respond with the hours for a specific day. I contacted Dr. Wallace with some ideas and he put me on the right track. This is possible by using the formatted date tag. If you're unfamiliar with this formatting, or are interested in the technical details of the AIML code, follow this link.

Emma now knows what day it is and will respond with the hours for that day. She can also tell you if we're open tomorrow, or if we were open yesterday. I'm working on a separate AIML file containing holidays, so she'll know when we're closed or are closing early.

The #2 question is "Do you have eBooks?"

No comments:

Post a Comment