28 lines
695 B
Python
28 lines
695 B
Python
def default_state():
|
|
state = dict(user_action=[],
|
|
system_action=[],
|
|
belief_state={},
|
|
request_state={},
|
|
terminated=False,
|
|
history=[])
|
|
state['belief_state'] = {
|
|
"cinema": {
|
|
"book": {
|
|
"task": "",
|
|
"date": "",
|
|
"hour": "",
|
|
"seat": "",
|
|
"row": "",
|
|
"movie": ""
|
|
},
|
|
"semi": {
|
|
"name": "",
|
|
"e-mail": "",
|
|
"price": 0,
|
|
"quantity": 0,
|
|
"tickettype": ""
|
|
}
|
|
}
|
|
}
|
|
return state
|