26 lines
621 B
Python
26 lines
621 B
Python
|
def default_state():
|
||
|
state = dict(user_action=[],
|
||
|
system_action=[],
|
||
|
belief_state={},
|
||
|
request_state={},
|
||
|
terminated=False,
|
||
|
history=[])
|
||
|
state['belief_state'] = {
|
||
|
"cinema": {
|
||
|
"book": {
|
||
|
"title": "",
|
||
|
"date": "",
|
||
|
"time": "",
|
||
|
"quantity": "",
|
||
|
"seats": "",
|
||
|
"area": "",
|
||
|
"interval": "",
|
||
|
},
|
||
|
"semi": {
|
||
|
"goal": ""
|
||
|
}
|
||
|
},
|
||
|
|
||
|
}
|
||
|
return state
|