System and method for visually searching and debugging conversational agents of electronic devices
AssigneeBaidu USA LLC
InventorXuchen YAO
Life of this patent
Estimating the term…
Abstract
Embodiments of the inventive system and methods are directed to a computer program that employs a drag-and-drop user interface for debugging dialogue states, tracking dialogue context, understanding dialogue utterances, and managing dialogue sessions of a conversational agent. Each dialogue element is defined in a “node” that can be dragged and dropped into a canvas of the user interface. A debugging window allows a user to visually debug and/or search the code associated with each dialogue element as well as execute each dialogue element of the conversational agent in sequence at a pace that is suitable to the user.
Claims20
A computer-implemented method for debugging a conversational agent of an electronic device, the method comprising:
- providing a graphical user interface (GUI) to allow a user to debug a conversational agent, the conversational agent comprising a sequence of nodes, wherein each node is represented in sequence by a graphical representation in a canvas of the GUI, wherein each graphical representation is linked to code of a corresponding node;
- displaying a debugging window in the GUI to allow the user to analyze one or more of the nodes in the canvas based on input received from the user, wherein the debugging window includes a break point graphical representation, which can be dragged and dropped onto a selected one of the nodes displayed in the canvas to set a break point at the selected node;
- and
- during executing code associated with the conversational agent, suspending executing code associated with the selected node in response to the break point set at the selected node.
A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations, the operations comprising:
- providing a graphical user interface (GUI) to allow a user to debug a conversational agent, the conversational agent comprising a sequence of nodes, wherein each node is represented in sequence by a graphical representation in a canvas of the GUI, wherein each graphical representation is linked to code of a corresponding node;
- displaying a debugging window in the GUI to allow the user to analyze one or more of the nodes in the canvas based on input received from the user, wherein the debugging window includes a break point graphical representation, which can be dragged and dropped onto a selected one of the nodes displayed in the canvas to set a break point at the selected node;
- and
- during executing code associated with the conversational agent, suspending executing code associated with the selected node in response to the break point set at the selected node.
A data processing system, comprising:
- a processor;
- and
- a memory coupled to the processor to store instructions, which when executed by the processor, cause the processor to perform operations, the operations comprising:
- providing a graphical user interface (GUI) to allow a user to debug a conversational agent, the conversational agent comprising a sequence of nodes, wherein each node is represented in sequence by a graphical representation in a canvas of the GUI, wherein each graphical representation is linked to code of a corresponding node;
- displaying a debugging window in the GUI to allow the user to analyze one or more of the nodes in the canvas based on input received from the user, wherein the debugging window includes a break point graphical representation, which can be dragged and dropped onto a selected one of the nodes displayed in the canvas to set a break point at the selected node;
- and
- during executing code associated with the conversational agent, suspending executing code associated with the selected node in response to the break point set at the selected node.
Dependencies are inferred from the claim text.