CPC G10L 15/22 (2013.01) [G06F 3/167 (2013.01); G06F 9/453 (2018.02); G06F 11/0769 (2013.01); G06F 11/366 (2013.01); G06F 11/3664 (2013.01); G06F 11/3692 (2013.01); G06F 16/243 (2019.01); G06F 16/24565 (2019.01); G10L 2015/223 (2013.01); G10L 2015/225 (2013.01)] | 17 Claims |
1. A method of validating actions in a digital assistant-based application, comprising:
identifying, by a data processing system comprising at least one processor, an application provided by an application developer device, the application having a conversational interface;
selecting, by the data processing system based on the application, an action from an action repository of the data processing system;
generating, by the data processing system and based on the action, a trigger phrase for input into the application, the trigger phrase representing a simulated voice-based input;
executing, by the data processing system, the application to process the trigger phrase to identify an action responsive to the trigger phrase;
generating, by the data processing system, a first query to request a value of a parameter used by the application to execute the action responsive to the trigger phrase;
generating, by the data processing system, a first response to the first query for input into the application, the first response including a simulated value as the value for the parameter, wherein when the first response is provided for input into the application, the simulated value is detected, and based on the simulated value being detected, execution by the application of at least a portion of the action responsive to the trigger phrase is blocked;
determining, by the data processing system based on execution of the application to process the first response, an error code, including:
determining a state of the application is a termination state;
evaluating the state of the application to determine a resource utilized by the application is active; and
generating the error code indicating that the application failed to deactivate the resource responsive to the termination state; and
providing, by the data processing system to the application developer device, a notification based on the error code.
|