Fix Dziękuję
This commit is contained in:
parent
1dcb6c7343
commit
3464a04349
@ -58,6 +58,7 @@ class DialoguePolicy(Policy):
|
||||
|
||||
def update_system_action(self, user_act, user_action, state, system_action):
|
||||
domain, intent = user_act
|
||||
if domain in state['belief_state']:
|
||||
constraints = [(slot, value) for slot, value in state['belief_state'][domain]['info'].items() if value != '']
|
||||
# print(f"Constraints: {constraints}")
|
||||
self.results = deepcopy(self.query(domain.lower(), constraints))
|
||||
|
Loading…
Reference in New Issue
Block a user