expanded to take more parameters than only name (in the future)
This commit is contained in:
parent
7f57db1606
commit
60b63307ba
@ -1 +0,0 @@
|
||||
,DESKTOP-QF2J2E3/riraa,DESKTOP-QF2J2E3,19.04.2022 01:25,file:///C:/Users/riraa/AppData/Roaming/LibreOffice/4;
|
@ -10,8 +10,9 @@ class DST:
|
||||
# iterate over speech acts
|
||||
|
||||
for k, v in userActs['inform'].items():
|
||||
if k == 'name':
|
||||
self.slots['name'] = v
|
||||
for slot in self.slots:
|
||||
if slot == k:
|
||||
self.slots['name'] = v
|
||||
print(self.slots)
|
||||
|
||||
# returns all slots
|
||||
|
Loading…
Reference in New Issue
Block a user