Przeniesienie debug printa
This commit is contained in:
parent
5984eb96e6
commit
4c57c6fdfb
@ -23,6 +23,8 @@ class DP():
|
|||||||
system_acts.append(self.update_system_action(user_act, user_action, state, system_action))
|
system_acts.append(self.update_system_action(user_act, user_action, state, system_action))
|
||||||
|
|
||||||
state['system_action'] = system_acts
|
state['system_action'] = system_acts
|
||||||
|
print(state)
|
||||||
|
print("\n")
|
||||||
return system_acts
|
return system_acts
|
||||||
|
|
||||||
|
|
||||||
|
@ -54,6 +54,4 @@ class Rules_DST(): #Dialogue State Tracker
|
|||||||
|
|
||||||
elif intent == 'end_conversation':
|
elif intent == 'end_conversation':
|
||||||
self.state = json.load(open('default_state.json'))
|
self.state = json.load(open('default_state.json'))
|
||||||
# print(self.state)
|
|
||||||
# print("\n")
|
|
||||||
return self.state
|
return self.state
|
Loading…
Reference in New Issue
Block a user