This commit is contained in:
s495727 2024-06-13 16:59:22 +02:00
parent fefc6bd7bc
commit e42ae14ceb
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ while True:
# DP
system_action = dialog_policy.predict(monitor)
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
response = language_generation.generate(frame, system_action_dict)

View File

@ -52,7 +52,7 @@ class DialogStateMonitor:
def get_current_active_stage(self) -> str | None:
for stage in self.state['stages']:
if stage['completed'] is False:
print("Current stage: ", stage['name'])
# print("Current stage: ", stage['name'])
return stage
self.state['belief_state']['order-complete'] = True