Testy skadnikow i ilosci
This commit is contained in:
parent
9c528afc6c
commit
0b9a15488c
@ -155,7 +155,7 @@ class DialogStateMonitor:
|
|||||||
else:
|
else:
|
||||||
new_order[slot.name] = [{"drink": value}]
|
new_order[slot.name] = [{"drink": value}]
|
||||||
|
|
||||||
elif slot.name in ["ingredient", "neg/ingredient"]:
|
elif slot.name in ["ingredient", "ingredient/neg"]:
|
||||||
if len(self.state['belief_state']['order']) != 0:
|
if len(self.state['belief_state']['order']) != 0:
|
||||||
last_order = self.state['belief_state']['order'][-1]
|
last_order = self.state['belief_state']['order'][-1]
|
||||||
if last_order["name"] == "pizza":
|
if last_order["name"] == "pizza":
|
||||||
|
Loading…
Reference in New Issue
Block a user