diff --git a/webex_skills/api/mindmeld.py b/webex_skills/api/mindmeld.py index 9cde155..0b3be6d 100644 --- a/webex_skills/api/mindmeld.py +++ b/webex_skills/api/mindmeld.py @@ -42,6 +42,12 @@ async def parse(self, request: SkillInvokeRequest): response = SkillInvokeResponse(**new_state.dict(), challenge=request.challenge) return response - def handle(self, *, domain=None, intent=None, entities=None, default=False): + def handle(self, *, domain=None, intent=None, entities=None, default=False, targeted_only=False): """Wraps a function to behave as a dialogue handler""" - return self.dialogue_manager.add_rule(domain=domain, intent=intent, entities=entities, default=default) + return self.dialogue_manager.add_rule( + domain=domain, + intent=intent, + entities=entities, + default=default, + targeted_only=targeted_only, + )