27 lines
664 B
Python
27 lines
664 B
Python
def default_state():
|
|
state = dict(user_action=[],
|
|
system_action=[],
|
|
belief_state={},
|
|
request_state={},
|
|
terminated=False,
|
|
history=[])
|
|
state['belief_state'] = {
|
|
"cinema": {
|
|
"book": {
|
|
"booked": [],
|
|
"date": "",
|
|
"hour": "",
|
|
"seat": "",
|
|
"movie": ""
|
|
},
|
|
"semi": {
|
|
"name": "",
|
|
"e-mail": "",
|
|
"price": "",
|
|
"number": "",
|
|
"type": ""
|
|
}
|
|
}
|
|
}
|
|
return state
|