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-04 14:24:51 +02:00
|
|
|
"task": "",
|
2022-05-28 14:18:38 +02:00
|
|
|
"date": "",
|
|
|
|
"hour": "",
|
|
|
|
"seat": "",
|
2022-06-04 14:24:51 +02:00
|
|
|
"row": "",
|
2022-05-28 14:18:38 +02:00
|
|
|
"movie": ""
|
2022-05-25 11:23:26 +02:00
|
|
|
},
|
|
|
|
"semi": {
|
|
|
|
"name": "",
|
|
|
|
"e-mail": "",
|
2022-06-04 14:24:51 +02:00
|
|
|
"price": 0,
|
|
|
|
"quantity": 0,
|
|
|
|
"tickettype": ""
|
2022-05-25 11:23:26 +02:00
|
|
|
}
|
2022-05-23 21:07:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
return state
|