# US 2019/0377619 A1 · Automatically generating conversational services from a computing application

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

- Number: US 2019/0377619 A1
- Document ID: US20190377619A1
- Status: Published application
- Kind: A1
- Application number: 16/002,915
- Filed: 2018-06-07
- Published: 2019-12-12
- Earliest claimed: 2018-06-07
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Oriana RIVA; Jason Alan KACE; Douglas Christopher BURGER; Jiajun LI
- Web page: https://patentgrep.com/patent/US20190377619A1

## CPC

- G06F 9/543: {User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]}
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G06F 9/451: Execution arrangements for user interfaces
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N 5/041: {Abduction}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The automatic generation of one or more task-oriented conversational bots is disclosed. Illustratively, systems and methods are provided that allow for tracing the interactions of one or more computing applications inclusive of the interaction with one or more programmatic elements of the one or more computing applications, interaction with the graphical user interface(s) of the one or more computing applications, and/or the operation of the one or more computing environments on which the one or more computing applications are executing to collect various state data. The state data can be illustratively graphed to show the overall execution paths of one or more functions/operations of the one or more computing applications for use in generating one or more instructions representative of a desired task-oriented conversational bot that can be operatively executed through one or more application program interfaces of the one or more computing applications.

## Claims

### Claim 1

A system comprising:
at least one processor; and
at least one memory having computer-readable instructions stored thereupon that, when executed by the at least one processor, cause the at least one processor to:
receive first input data comprising data representative of one or more user interactions with one or more programmatic elements, data representative of the one or more programmatic elements, and data representative of the state of an application in which the one or more of the programmatic elements are being executed;
process the first input data to generate intermediate processed input data by:
partitioning the first input data according to one or more selected application states application;
identifying one or more dependencies among the one or more selected application states; and
extracting one or more service application program interfaces (APIs) from the application using the identified one or more states and one or more dependencies; and
generating a user interface using the intermediate processed input data by:
generating one or more questions for the identified one or more dependencies;
generating samples of user answers for the generated one or more questions; and
generating sample of user utterances for triggering the extracted one or more service APIs to be executed by the application.

### Claim 2 (depends on 1)

The system of claim 1, wherein the one or more user interactions comprise one or more traces of the behavior of the application.

### Claim 3 (depends on 1)

The system of claim 1, wherein the data representative of the one or more programmatic elements comprises data representative of a user interface of the application.

### Claim 4 (depends on 1)

The system of claim 1, wherein the computer-readable instructions further cause the at least one processor to partition the first input data according to one or more selected application states comprising one or more states of a user interface of an application executable on the computing environment and one or more states representative of one or more internal processing states of the application executable on the computing environment.

### Claim 5 (depends on 1)

The system of claim 1, wherein data representative of the state of the application in which the programmatic element is being executed comprises dynamic application state, static application state, and the state of an underlying operating system for a computer environment on which the application is executed.

### Claim 6 (depends on 1)

The system of claim 1, wherein the computer-readable instructions further cause the at least one processor to order the one or more selected application states as one or more elements of a state graph, the state graph comprising data representative of the one or more dependencies among the one or more selected application states.

### Claim 7 (depends on 6)

The system of claim 6, wherein the computer-readable instructions further cause the at least one processor to extract the one or more service APIs as one or more paths on the state graph, the one or more paths comprising data representative of the one or more selected states of the application.

### Claim 8

A computer-implemented method, comprising:
receiving first input data by a computing environment comprising data representative of one or more user interactions with one or more programmatic elements, data representative of the one or more programmatic elements, and data representative of the state of an application in which the one or more programmatic elements are being executed;
processing the first input data to generate intermediate processed input data by:
partitioning the first input data according to one or more selected application states;
ordering the one or more selected application states as one or more elements of a state graph; and
extracting one or more service application program interfaces (APIs) as one or more paths of the state graph, the one or more paths comprising data representative of one or more parameters for the extracted one or more service APIs; and
generating a natural user interface using the intermediate processed input data by:
generating one or more questions for the identified parameters;
generating samples of one or more user answer to the generated one or more questions; and
generating samples of one or more user utterances for the extracted one or more service APIs to be executed by the application.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, further comprising performing a trace of the application operative on the computing environment, the trace generating data representative of processed data by one or more functions of the application.

### Claim 10 (depends on 8)

The computer-implemented method of claim 8, wherein partitioning the first input data according to one or more selected application states comprises partitioning the first input data according to one or more states of a user interface of the application and one or more internal processing states of the application.

### Claim 11 (depends on 8)

The computer-implemented method of claim 8, wherein the state graph further comprises data representative of the one or more dependencies among the one or more selected application states.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, wherein the one or more paths comprise data representative of one or more states of the application.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, further comprising generating a skill and providing the skill to one or more user channels to execute, the one or more user channels comprising a cooperating computing application.

### Claim 14 (depends on 8)

The computer-implemented method of claim 8, further comprising identifying one or more service APIs from the received input data or user request.

### Claim 15 (depends on 8)

The computer-implemented method of claim 8, further comprising training the computing environment to generate the one or more questions for the identified parameters, to generate the samples of one or more user answers to the generated one or more questions, and to generate the samples of one or more user utterances for the identified action or service API.

### Claim 16

A computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by one or more processors of a computing device, cause the one or more processors of the computing device to:
receive first input data comprising data representative of one or more user interactions with a programmatic element, data representative of the programmatic elements, and data representative of the state of an application in which the programmatic element is being executed;
process the first input data to generate intermediate processed input data by:
partitioning the first input data according to one or more selected application states;
identifying one or more dependencies among the one or more selected application states; and
extracting one or more service application program interfaces (APIs) from the application using the identified one or more dependencies; and
generating a natural user interface using the intermediate processed input data by:
generating one or more questions for the identified one or more dependencies;
generating samples of user answers for the generated one or more questions; and
generating samples of one or more utterances for the extracted one or more service APIs to be executed by the application.

### Claim 17 (depends on 16)

The computer-readable storage medium of claim 16, wherein the instructions further cause the one or more processors of the computing device to:
trace generating data representative of processed data by one or more functions of the application.

### Claim 18 (depends on 17)

The computer-readable storage medium of claim 17, wherein the instructions further cause the one or more processors of the computing device to:
order the one or more selected application states as one or more elements of a state graph, the state graph comprising data representative of the one or more dependencies among the one or more selected application states.

### Claim 19 (depends on 16)

The computer-readable storage medium of claim 16, wherein the instructions further cause the one or more processors of the computing device to:
extract the one or more service APIs as one or more paths on the state graph, the one or more paths comprising data representative of one or more states of the application.

### Claim 20 (depends on 16)

The computer-readable storage medium of claim 16, wherein the instructions further cause the one or more processors of the computing device to:
define one or more service APIs from the received input data
