CPC G10L 15/22 (2013.01) [G10L 15/16 (2013.01); G10L 15/26 (2013.01); G10L 15/30 (2013.01); G10L 2015/223 (2013.01)] | 20 Claims |
1. A computer-implemented method performed by a conversation engine configured to execute chatbots, the method comprising:
receiving by a chatbot, a first user utterance;
determining a first intent of the first user utterance;
determining whether the first intent indicates a request for a first task;
recording the first task in a data structure configured to store data associated with tasks;
executing the first task by performing an action by the chatbot;
before completing the first task, receiving a second user utterance;
determining a second intent of the second user utterance;
determining whether the second intent indicates a response to the action performed by the chatbot or a request for a second task;
responsive to determining that the second intent indicates the request for the second task, recording the second task in the data structure;
responsive to completion of the first task, checking the data structure to determine whether there is a pending task that is incomplete; and
responsive to determining that the second task is incomplete, executing the second task.
|