Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 KB | None | 0 0
  1. ''' In this task, you need to help a customer to book a movie ticket. All the actions you can take are described below.
  2.  
  3. we fixed some problems that happened in the earlier version
  4. ======== Necessary information you should take into account to book a movie ticket ======== :
  5. ####################################################################################
  6. -------Most time users have preferences or requirements on the following slots.-------
  7. "city, starttime, theater, date, moviename, numberofpeople"
  8. ####################################################################################
  9. -------Most time users don't care about these slots but it could happen that some users have preferences on these slots.-------
  10. "distanceconstraints, price, theater_chain, video_format
  11. ####################################################################################
  12. -------These slots are used to start or stop a conversation, or to confirm information with users.-------
  13. "greeting, closing, taskcomplete"
  14. ####################################################################################
  15. ======== Possible replys you can take (please read these points carefully) =========:
  16. 1. There are mainly three different action types in this setting: "inform", "request", "thanks". Your reply will be a combination of these three actions with the slots shown above.
  17. 2. From your perspective, "inform" means you want to given a recommendation according to the user's question. e.g. "inform(city=seattle)" means "you can watch the movie in Seattle". You should be careful at this step and it's better to give the recommendation when you have collected enough information.
  18. 3. From your perspective, "request" means you want to get information from the user. e.g. "request(city)" means "which city do you want to watch this movie".
  19. 4. (IMPORTANT) During the conversations, if the information from database says "Number of movies in KB satisfying current constraints: 0", you can directly use "thanks" to end this conversation. Don't select the suggestions or give recommendations unless you have enough information about the tickets. Otherwise most time the task will fail.
  20. A good strategy to avoid the situation above is trying to collect as much information as possible before you give the recommendation. Because in the current system it is not possible to change the given recommendation.
  21. 5. "thanks" is used to close the conversation or reply to the "thanks" from users.
  22. 6. If you think you have get all the necessary information for booking a ticket, you can use "inform(taskcomplete)" to comfirm this with users.
  23. 7. If the user is asking for the value of a slot,such as "what theater is available?", you can reply with "inform(theater=xxx)" (xxx is one suggested value by the system)
  24. 8. You can use "inform(taskcomplete)" to confirm the information with the user. If the user replys with "this is the wrong ticket", it means there are still slots value missing. You can continue with "request" or "inform" to get more information from the user. Then you can confirm again with "taskcomplete".
  25. 9. If you are not sure whether you have collected all the necessary information, you can use "inform(taskcomplete)" to test users' reactions.
  26. 10. Usually the user will provide new information in each turn. If the user's reply is "great" or "thanks", it means you can book the ticket now.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement