2022-05-23 21:07:01 +02:00
|
|
|
def default_state():
|
|
|
|
state = dict(user_action=[],
|
|
|
|
system_action=[],
|
|
|
|
belief_state={},
|
|
|
|
request_state={},
|
|
|
|
terminated=False,
|
|
|
|
history=[])
|
|
|
|
state['belief_state'] = {
|
2022-05-25 11:23:26 +02:00
|
|
|
"cinema": {
|
2022-05-28 14:18:38 +02:00
|
|
|
"book": {
|
2022-06-08 01:07:39 +02:00
|
|
|
"movie": "",
|
2022-06-04 14:24:51 +02:00
|
|
|
"task": "",
|
2022-05-28 14:18:38 +02:00
|
|
|
"date": "",
|
|
|
|
"hour": "",
|
|
|
|
"seat": "",
|
2022-06-08 01:07:39 +02:00
|
|
|
"row": ""
|
2022-05-25 11:23:26 +02:00
|
|
|
},
|
|
|
|
"semi": {
|
|
|
|
"name": "",
|
|
|
|
"e-mail": "",
|
2022-06-04 14:24:51 +02:00
|
|
|
"price": 0,
|
|
|
|
"quantity": 0,
|
2022-06-08 01:07:39 +02:00
|
|
|
"tickettype": "",
|
|
|
|
"payments": "",
|
2022-06-08 08:58:25 +02:00
|
|
|
"cancel_book_status": False,
|
|
|
|
"cancel_buy_status": False
|
2022-05-25 11:23:26 +02:00
|
|
|
}
|
2022-05-23 21:07:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return state
|