allow extra slot values in intents (#15246)
This commit is contained in:
1 parent
4c258ce08b
commit
136cc1d44d
3 files changed
+81
-2
No files matched your search
@@ -137,7 +137,8 @@ class IntentHandler:
|
||||
if self._slot_schema is None:
|
||||
self._slot_schema = vol.Schema({
|
||||
key: SLOT_SCHEMA.extend({'value': validator})
|
||||
for key, validator in self.slot_schema.items()})
|
||||
for key, validator in self.slot_schema.items()},
|
||||
extra=vol.ALLOW_EXTRA)
|
||||
|
||||
return self._slot_schema(slots)
|
||||
|
||||
|
||||
Reference in new issue
Block a user