aitech-sd-lab/DST_DP_lab_9-10/dialogue_state.py
2022-05-28 14:18:38 +02:00

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