Generation of conversational task completion structure
Abstract
A method that includes obtaining, for a task, a help file including steps, and generating, from the help file, a knowledge graph for the task, the knowledge graph includes nodes connected by directed edges. Generating the knowledge graph includes, for a step of the set of steps obtaining, from the step, a first step attribute value defining an action type of an action specified by the step, generating a natural language instruction based on the action type and a second step attribute value, in the step, corresponding to a parameter of the action, and storing the natural language instruction in a node. The method further includes storing the knowledge graph.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 0.
Claims (15 — 2 Independent, 13 Dependent)
- Claim 1Independent Claim
A method comprising: recording, by a first computing system and in a clickstream file, while a training user is performing a plurality of steps to complete a first task, a plurality of clickstream events capturing the training user performing the plurality of steps, wherein each clickstream event of the plurality of clickstream events is recorded as a set of attribute type and attribute value pairs for each attribute of the clickstream event, wherein each set of attribute type and attribute value pairs of each clickstream event comprises: a first attribute type specifying that a first attribute is an action type, the first attribute type adjacent to a first attribute value defining the action type of an action performed by a corresponding step of the plurality of steps, and a second attribute type defining a name of a parameter of the action, the second attribute type adjacent to a second attribute value specifying the parameter of the action; generating, from the clickstream file, a first knowledge graph for the first task, the first knowledge graph comprising a plurality of stored nodes stored in storage of a repository, the plurality of stored nodes connected by a plurality of directed edges, wherein generating the first knowledge graph comprises, for each clickstream event in the plurality of clickstream events: obtaining, from the clickstream event, the first attribute value specifying the action type using the first attribute type and the second attribute value specifying the parameter using the second attribute type, generating a natural language instruction to perform the corresponding step by translating the first attribute value and the parameter of the clickstream event using the first attribute type and the second attribute type to the natural language instruction, the natural language instruction specifying, in a complete sentence of a natural language, the action type and the parameter of the corresponding step, storing the natural language instruction in a single stored node of the plurality of stored nodes, and connecting, by a directed edge from a previous stored node in the first knowledge graph to the single stored node when the corresponding step of the previous stored node is performed prior to the corresponding step of the single stored node; and presenting, in a graphical user interface of a client device of an end user and in an order defined by the plurality of directed edges between the plurality of stored nodes in the first knowledge graph, a plurality of natural language instructions for the end user to perform and in at least a subset of the plurality of stored nodes in the first knowledge graph, wherein the end user is different than the training user.
- Claim 2Depends on #1
The method of claim 1, wherein generating the natural language instruction comprises: obtaining a rule matching the action type; generating the natural language instruction according to the rule; and populating the natural language instruction with the parameter.
- Claim 3Depends on #2
The method of claim 2, wherein the natural language instruction is further generated by applying a second rule to a widget type in the clickstream file.
- Claim 4Depends on #1
The method of claim 1, further comprising: identifying a schema provider matching the clickstream file; obtaining schema specification from a content provider; and interpreting the clickstream file according to the schema specification to obtain an interpretation, wherein generating the natural language instruction is according to the interpretation.
- Claim 5Depends on #1
The method of claim 1, further comprising: assigning, to the single stored node and using a first context attribute value, a relevance attribute value defining a relevance of the natural language instruction to the first task.
- Claim 6Depends on #5
The method of claim 5, further comprising: wherein, when presenting the plurality of natural language instructions, at least one natural language instruction is ignored based on the relevance attribute value.
- Claim 7Depends on #6
The method of claim 6, wherein at least one of the plurality of clickstream events comprises an outcome value from performing a corresponding step, wherein generating the first knowledge graph comprises associating the outcome value with the single stored node, wherein the method further comprises: receiving a user input corresponding to an intent to perform the first task; selecting the first knowledge graph responsive to the intent; determining that an outcome denoted by the outcome value has been successfully accomplished prior to receiving the user input; and wherein ignoring the natural language instruction is responsive to the determining and the relevance attribute value.
- Claim 8Depends on #1
The method of claim 1, further comprising: receiving a user input corresponding to an intent to perform the first task; selecting the first knowledge graph responsive to the intent; selecting an entrance point node in the first knowledge graph based on a current state; presenting a second natural language instruction at the entrance point node, the second natural language instruction specifying to perform a first action; receiving an indication that the end user has performed the first action and an outcome; and responsive to receiving the indication that a user has performed the first action, traversing to a next stored node in the first knowledge graph based on the outcome.
- Claim 9Depends on #1
The method of claim 1, further comprising: obtaining, for a second task, a second help file comprising a second plurality of steps; generating, from the second help file, a second knowledge graph for the second task, the second knowledge graph comprising a second plurality of natural language instructions; and storing the second knowledge graph.
- Claim 10Independent Claim
A system comprising: a repository configured to store: a clickstream file comprising a plurality of clickstream events for a task, the plurality of clickstream events, wherein each clickstream event of the plurality of clickstream events is recorded as a set of attribute type and attribute value pairs for each attribute of the clickstream event, wherein each set of attribute type and attribute value pairs of each clickstream event comprises: a first attribute type specifying that a first attribute is an action type, the first attribute type adjacent to a first attribute value defining the action type of an action performed by a corresponding step of a plurality of steps, and a second attribute type defining a name of a parameter of the action, the second attribute type adjacent to a second attribute value specifying the parameter of the action, wherein the plurality of clickstream events is recorded while a training user is performing the plurality of steps to complete the task, and a knowledge graph comprising a plurality of stored nodes storing a plurality of natural language instructions, the plurality of stored nodes connected by a plurality of directed edges; a computer processor; and a knowledge graph generator executing on the computer processor configured to: generate, from the clickstream file, the knowledge graph for the task, wherein generating the knowledge graph comprises, for each clickstream event in the plurality of clickstream events: obtaining, from the clickstream event, the first attribute value specifying the action type using the first attribute type and the second attribute value specifying the parameter using the second attribute type, generating a natural language instruction to perform the corresponding step by translating the first attribute value and the parameter of the clickstream event using the first attribute type and the second attribute type to the natural language instruction, the natural language instruction specifying, in a complete sentence of a natural language, the action type and the parameter of the corresponding step, storing the natural language instruction in a single stored node of the plurality of stored nodes, and connecting, by a directed edge from a previous stored node in the knowledge graph to the single stored node when the corresponding step of the previous stored node is performed prior to the corresponding step of the single stored node; and a task completion manager configured to present, in a graphical user interface of a client device of an end user and in an order defined by the plurality of directed edges between the plurality of stored nodes in the knowledge graph, the plurality of natural language instructions for the end user to perform and in at least a subset of the plurality of stored nodes in the knowledge graph, wherein the end user is different than the training user.
- Claim 11Depends on #10
The system of claim 10, wherein the knowledge graph generator is configured to generate the natural language instruction by applying a first rule to the action type.
- Claim 12Depends on #11
The system of claim 11, wherein the knowledge graph generator is further configured to generate the natural language instruction by applying a second rule to a widget type in the clickstream event.
- Claim 13Depends on #10
The system of claim 10, wherein the knowledge graph generator is further configured to: assigning, to the single stored node and using a first context attribute value, a relevance attribute value defining a relevance of the natural language instruction to the task.
- Claim 14Depends on #13
The system of claim 13, further comprising: wherein, when presenting the plurality of natural language instructions, at least one natural language instruction is ignored based on the relevance attribute value.
- Claim 15Depends on #14
The system of claim 14, wherein the clickstream event comprises an outcome value from performing a corresponding step, wherein generating the knowledge graph comprises associating the outcome value with the single stored node, wherein the task completion manager is further configured to: receive a user input corresponding to an intent to perform the task, select the knowledge graph responsive to the intent, determine that an outcome denoted by the outcome value has been successfully accomplished prior to receiving the user input, and wherein ignoring the natural language instruction is responsive to the determining and the relevance attribute value.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is related to U.S. patent application Ser. No. 17/588,175, filed concurrently herewith, entitled “ GRAPHICAL USER INTERFACE FOR CONVERSATIONAL TASK COMPLETION ” , having the same inventors, and incorporated herein by reference. BACKGROUND Software applications, such as web applications and local applications, have instructions to help users to perform a variety of tasks. The instructions include the display of various graphical user interface (GUI) elements, such as menus, buttons, popups, and other components configured to receive input from a user and display output. The arrangement of the various GUI elements is the design of the GUI. The ideal GUI is intuitive, such that users can easily navigate the application to perform various tasks. Occasionally, users have difficulty in performing certain tasks. In such a scenario, the user may access help section for the software application. The help section may display an entire static list of to the user a single static list of steps for performing the task. The user then attempts to perform the task by performing each step in the static list. The help section is written by a human, who writes the individual words explaining each step that the end user needs to take to perform the particular task. SUMMARY In general, in one aspect, one or more embodiments relate to a method that includes obtaining, for a task, a help file including steps, and generating, from the help file, a knowledge graph for the task, the knowledge graph includes nodes connected by directed edges. Generating the knowledge graph includes, for a step of the set of steps obtaining, from the step, a first step attribute value defining an action type of an action specified by the step, generating a natural language instruction based on the action type and a second step attribute value, in the step, corresponding to a parameter of the action, and storing the natural language instruction in a node.
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (25)
Non-Patent Literature (10)
- Ammanabrolu, Prithviraj, and Mark O. Riedl.
- “
- Playing text-adventure games with graph-based deep reinforcement learning.
- ”
- arXiv preprint arXiv:1812.01628 (2018). (Year: 2018).
- Yu, Jay, Kevin McCluskey, and Saikat Mukherjee.
- “
- Tax knowledge graph for a smarter and more personalized turbotax.
- ”
- arXiv preprint arXiv:2009.06103 (2020). (Year: 2020).