From 9e5a92563f1b75a598131e3b8242efe6cfed8def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Zab=C5=82o=C5=84ski?= Date: Wed, 25 May 2022 11:23:26 +0200 Subject: [PATCH] fix --- DST_DP_lab_9-10/dialogue_state.py | 16 ++++++ DST_DP_lab_9-10/value_dict.json | 81 +++++++++++++++---------------- 2 files changed, 54 insertions(+), 43 deletions(-) diff --git a/DST_DP_lab_9-10/dialogue_state.py b/DST_DP_lab_9-10/dialogue_state.py index e951d96..efbc140 100644 --- a/DST_DP_lab_9-10/dialogue_state.py +++ b/DST_DP_lab_9-10/dialogue_state.py @@ -6,6 +6,22 @@ def default_state(): terminated=False, history=[]) state['belief_state'] = { + "cinema": { + "book": { + "booked": [], + "people": "", + "day": "", + "seat": "" + }, + "semi": { + "name": "", + "e-mail": "", + "price": "", + "stars": "", + "movie": "", + "type": "" + } + } "police": { "book": { "booked": [] diff --git a/DST_DP_lab_9-10/value_dict.json b/DST_DP_lab_9-10/value_dict.json index ae9dbe9..5298f53 100644 --- a/DST_DP_lab_9-10/value_dict.json +++ b/DST_DP_lab_9-10/value_dict.json @@ -348,13 +348,13 @@ "24:43" ], "day": [ - "monday", - "tuesday", - "wednesday", - "thursday", - "friday", - "saturday", - "sunday" + "poniedziałek", + "wtorek", + "środa", + "czwartek", + "piątek", + "sobota", + "niedziela" ], "departure": [ "cambridge", @@ -371,6 +371,25 @@ "broxbourne", "stevenage" ], + "movie":[ + "Batman", + "Batmana", + "Inni ludzie", + "Ambulans", + "Bunkier Strachu", + "To nie wypanda", + "W dolinie i w puszczy", + "Batman i zemsta muminków", + "Górnik i 7 żubrów", + "Sing 2", + "Minionki" + ], + "price":[ + "15 zł", + "18 zł", + "20 zł", + "25 zł" + ], "destination": [ "london kings cross", "cambridge", @@ -387,18 +406,18 @@ "stevenage" ], "duration": [ - "51 minutes", - "88 minutes", - "47 minutes", - "79 minutes", - "50 minutes", - "17 minutes", - "28 minutes", - "105 minutes", - "163 minutes", - "38 minutes", - "60 minutes", - "49 minutes" + "51 minuty", + "88 minuty", + "47 minuty", + "79 minuty", + "50 minuty", + "17 minuty", + "28 minuty", + "105 minuty", + "163 minuty", + "38 minuty", + "60 minuty", + "49 minuty" ], "leaveat": [ "05:00", @@ -729,30 +748,6 @@ "21:54", "23:54" ], - "price": [ - "23.60 pounds", - "18.88 pounds", - "16.60 pounds", - "13.28 pounds", - "9.80 pounds", - "7.84 pounds", - "17.60 pounds", - "14.08 pounds", - "16.50 pounds", - "13.20 pounds", - "4.40 pounds", - "3.52 pounds", - "10.10 pounds", - "8.08 pounds", - "37.80 pounds", - "30.24 pounds", - "75.10 pounds", - "60.08 pounds", - "17.90 pounds", - "14.32 pounds", - "12.80 pounds", - "10.24 pounds" - ], "trainid": [ "tr7075", "tr2289",