CPC G06F 9/451 (2018.02) [G06F 9/546 (2013.01); G06N 3/004 (2013.01)] | 17 Claims |
1. A computer system configured to support a conversation between a user and a virtual assistant, the computer system comprising:
a memory; and
at least one processor coupled to the memory and configured to
receive, from the virtual assistant, a fulfillment request specifying a first intent,
push a first item onto a conversation stack stored in the memory, the first item including an identifier of the first intent,
dispatch the first intent to an action handler registered to receive the first intent,
receive, from the action handler, one or more instructions to manipulate the conversation stack,
manipulate the conversation stack in accordance with the one or more instructions including pushing a second item onto the conversation stack, the second item including an identifier of a second intent,
peek at the second item in the conversation stack to generate a response to the user regarding the second intent;
transmit a fulfillment response to the virtual assistant, the fulfillment response comprising the response to the user; and
store the conversation stack in the memory for subsequent processing within the conversation.
|