# US 2021/0342542 A1 · Efficiently managing predictive changes for a conversational agent

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0342542 A1
- Document ID: US20210342542A1
- Status: Published application
- Kind: A1
- Application number: 16/862,945
- Filed: 2020-04-30
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: REBECCA R. JAMES; LALIT AGARWALLA; SHANE M. KILMON; ANDREW R. FREED; LEO MAZZOLI
- Web page: https://patentgrep.com/patent/US20210342542A1

## CPC

- G06F 40/30: Semantic analysis
- G06F 40/35: Discourse or dialogue representation
- G06N 5/02: Knowledge representation; Symbolic representation
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 5/04: Inference or reasoning models
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A dialog change service builds a directed graph of nodes, each described by code for a conversational agent stored in source control, the code comprising one or more dialog-based features. The dialog change service, responsive to receiving a request for a dialog change to a particular node of the conversational agent, evaluates the directed graph to identify an additional selection of nodes that require a similar changes as the dialog change based on textual and structural content. The dialog change service updates the code for the particular node and the additional selection of nodes to propagate the dialog change in the conversational agent stored in source control.

## Claims

### Claim 1

A method, comprising:
building, by a computer, a directed graph of a plurality of nodes each described by code for a conversational agent, the code comprising one or more dialog-based features;
responsive to receiving a request for a dialog change to a particular node from among the plurality of nodes of the conversational agent, evaluating, by the computer, the directed graph to identify an additional selection of nodes from among the plurality of nodes that require a similar changes as the dialog change based on textual and structural content; and
updating, by the computer, the code for the particular node and the additional selection of nodes to propagate the dialog change in the conversational agent.

### Claim 2 (depends on 1)

The method according to claim 1, wherein building, by the computer, the directed graph of the plurality of nodes each described by code for the conversational agent, the code comprising the one or more dialog-based features, further comprises:
building, by the computer, the directed graph of the plurality of nodes each described by the code for the conversational agent, wherein each node of the plurality of nodes comprises the one or more dialog-based features comprising a text type, responses expected, and one or more additional features.

### Claim 3 (depends on 2)

The method according to claim 2, wherein building, by the computer, the directed graph of the plurality of nodes each described by the code for the conversational agent, wherein each node of the plurality of nodes comprises the one or more dialog-based features comprising the text type, the responses expected, and the one or more additional features further comprises:
building, by the computer, the directed graph of the plurality of nodes each described by the code for the conversational agent, the one or more additional features comprising one or more of conditional logic, context variables, action, confidence thresholds, and integration information.

### Claim 4 (depends on 1)

The method according to claim 1, wherein, responsive to receiving the request for the dialog change to the particular node from among the plurality of nodes of the conversational agent, evaluating, by the computer, the directed graph to identify the additional selection of nodes from the among the plurality of nodes that require the similar changes as the dialog change based on the textual and structural content, further comprises:
responsive to the dialog change comprising a textual change, evaluating, by the computer, the directed graph to identify the additional selection of nodes from among the plurality of nodes that require the similar changes as the textual change.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising:
evaluating, by the computer, the directed graph to identify the selection of nodes that require similar changes as the textual change by evaluating one or more of a prompt consistency, a textual tone and voice consistency, a voicebot consistency, and a hotspot consistency.

### Claim 6 (depends on 1)

The method according to claim 1, wherein, responsive to receiving the request for the dialog change to the particular node from among the plurality of nodes of the conversational agent, evaluating, by the computer, the directed graph to identify the additional selection of nodes from the among the plurality of nodes that require the similar changes as the dialog change based on the textual and structural content, further comprises:
responsive to the dialog change comprising a structural change, evaluating, by the computer, the directed graph to identify the additional selection of nodes from among the plurality of nodes that require the similar changes as the structural change.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising:
evaluating, by the computer, the directed graph to identify the selection of nodes that require similar changes as the structural change by evaluating one or more of new entity consistency and content variable consistency.

### Claim 8 (depends on 1)

The method according to claim 1, wherein updating, by the computer, the code for the particular node and the additional selection of nodes to propagate the dialog change in the conversational agent further comprises:
sending, by the computer, a request from source control to a developer interface for a user to approve a respective proposed change for each of the particular node and the additional selection of nodes to the conversational agent as stored by source control;
responsive to receiving a user approval for the request, updating, by the computer, a selection of configuration files comprising the code for the particular node and the additional selection of node with each respective proposed change from among the plurality of configuration files of the conversational agent; and
storing, by the computer, an updated version of the conversational agent with the updated selection of configuration files, by the source control.

### Claim 9

A computer system comprising one or more processors, one or more computer-readable memories, one or more computer-readable storage devices, and program instructions, stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, the stored program instructions comprising:
program instructions to build a directed graph of a plurality of nodes each described by code for a conversational agent, the code comprising one or more dialog-based features;
program instructions, responsive to receiving a request for a dialog change to a particular node from among the plurality of nodes of the conversational agent, to evaluate the directed graph to identify an additional selection of nodes from among the plurality of nodes that require a similar changes as the dialog change based on textual and structural content; and
program instructions to update the code for the particular node and the additional selection of nodes to propagate the dialog change in the conversational agent.

### Claim 10 (depends on 9)

The computer system according to claim 9, wherein the program instructions to build the directed graph of the plurality of nodes each described by code for the conversational agent, the code comprising the one or more dialog-based features, further comprise:
program instructions to build the directed graph of the plurality of nodes each described by the code for the conversational agent, wherein each node of the plurality of nodes comprises the one or more dialog-based features comprising a text type, responses expected, and one or more additional features.

### Claim 11 (depends on 10)

The computer system according to claim 10, wherein the program instructions to build the directed graph of the plurality of nodes each described by the code for the conversational agent, wherein each node of the plurality of nodes comprises the one or more dialog-based features comprising the text type, the responses expected, and the one or more additional features further comprise:
program instructions to build the directed graph of the plurality of nodes each described by the code for the conversational agent, the one or more additional features comprising one or more of conditional logic, context variables, action, confidence thresholds, and integration information.

### Claim 12 (depends on 9)

The computer system according to claim 9, wherein the program instructions, responsive to receiving the request for the dialog change to the particular node from among the plurality of nodes of the conversational agent, to evaluate the directed graph to identify the additional selection of nodes from the among the plurality of nodes that require the similar changes as the dialog change based on the textual and structural content, further comprise:
program instructions, responsive to the dialog change comprising a textual change, to evaluate the directed graph to identify the additional selection of nodes from among the plurality of nodes that require the similar changes as the textual change.

### Claim 13 (depends on 12)

The computer system according to claim 12, further comprising:
program instructions to evaluate the directed graph to identify the selection of nodes that require similar changes as the textual change by evaluating one or more of a prompt consistency, a textual tone and voice consistency, a voicebot consistency, and a hotspot consistency.

### Claim 14 (depends on 9)

The computer system according to claim 9, wherein the program instructions, responsive to receiving the request for the dialog change to the particular node from among the plurality of nodes of the conversational agent, to evaluate the directed graph to identify the additional selection of nodes from the among the plurality of nodes that require the similar changes as the dialog change based on the textual and structural content, further comprise:
program instructions, responsive to the dialog change comprising a structural change, to evaluate the directed graph to identify the additional selection of nodes from among the plurality of nodes that require the similar changes as the structural change.

### Claim 15 (depends on 14)

The computer system according to claim 14, further comprising:
program instructions to evaluate the directed graph to identify the selection of nodes that require similar changes as the structural change by evaluating one or more of new entity consistency and content variable consistency.

### Claim 16 (depends on 9)

The computer system according to claim 9, wherein the program instructions to update the code for the particular node and the additional selection of nodes to propagate the dialog change in the conversational agent further comprise:
program instructions to send a request from source control to a developer interface for a user to approve a respective proposed change for each of the particular node and the additional selection of nodes to the conversational agent as stored by source control;
program instructions, responsive to receiving a user approval for the request, to update a selection of configuration files comprising the code for the particular node and the additional selection of node with each respective proposed change from among the plurality of configuration files of the conversational agent; and
program instructions to store an updated version of the conversational agent with the updated selection of configuration files, by the source control.

### Claim 17

A computer program product comprises one or more computer readable storage media having program instructions collectively stored thereon, wherein the one or more computer readable storage media are not a transitory signal per se, the program instructions executable by a computer to cause the computer to:
build, by a computer, a directed graph of a plurality of nodes each described by code for a conversational agent, the code comprising one or more dialog-based features;
responsive to receiving a request for a dialog change to a particular node from among the plurality of nodes of the conversational agent, evaluate, by the computer, the directed graph to identify an additional selection of nodes from among the plurality of nodes that require a similar changes as the dialog change based on textual and structural content; and
update, by the computer, the code for the particular node and the additional selection of nodes to propagate the dialog change in the conversational agent.

### Claim 18 (depends on 17)

The computer program product according to claim 17, further comprising the program instructions executable by a computer to cause the computer to:
build, by the computer, the directed graph of the plurality of nodes each described by the code for the conversational agent, wherein each node of the plurality of nodes comprises the one or more dialog-based features comprising a text type, responses expected, and one or more additional features.

### Claim 19 (depends on 18)

The computer program product according to claim 18, further comprising the program instructions executable by a computer to cause the computer to:
build, by the computer, the directed graph of the plurality of nodes each described by the code for the conversational agent, the one or more additional features comprising one or more of conditional logic, context variables, action, confidence thresholds, and integration information.

### Claim 20 (depends on 17)

The computer program product according to claim 17, further comprising the program instructions executable by a computer to cause the computer to:
responsive to the dialog change comprising a textual change, evaluate, by the computer, the directed graph to identify the additional selection of nodes from among the plurality of nodes that require the similar changes as the textual change.
