Silence
This commit is contained in:
parent
fefc6bd7bc
commit
e42ae14ceb
@ -38,7 +38,7 @@ while True:
|
|||||||
# DP
|
# DP
|
||||||
system_action = dialog_policy.predict(monitor)
|
system_action = dialog_policy.predict(monitor)
|
||||||
system_action_dict = frame_to_dict(system_action) # Ensure system_action is a dictionary
|
system_action_dict = frame_to_dict(system_action) # Ensure system_action is a dictionary
|
||||||
print("System action: ", system_action_dict)
|
# print("System action: ", system_action_dict)
|
||||||
|
|
||||||
# NLG
|
# NLG
|
||||||
response = language_generation.generate(frame, system_action_dict)
|
response = language_generation.generate(frame, system_action_dict)
|
||||||
|
@ -52,7 +52,7 @@ class DialogStateMonitor:
|
|||||||
def get_current_active_stage(self) -> str | None:
|
def get_current_active_stage(self) -> str | None:
|
||||||
for stage in self.state['stages']:
|
for stage in self.state['stages']:
|
||||||
if stage['completed'] is False:
|
if stage['completed'] is False:
|
||||||
print("Current stage: ", stage['name'])
|
# print("Current stage: ", stage['name'])
|
||||||
return stage
|
return stage
|
||||||
self.state['belief_state']['order-complete'] = True
|
self.state['belief_state']['order-complete'] = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user