# US 2025/0148198 A1 · Augmented natural language generation platform

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

- Number: US 2025/0148198 A1
- Document ID: US20250148198A1
- Status: Published application
- Kind: A1
- Application number: 19/013,165
- Filed: 2025-01-08
- Published: 2025-05-08
- Earliest claimed: 2019-09-30
- Assignees: Stats LLC
- Applicants: Stats LLC
- Inventors: Adam Long; Nick Haynes; Dan Salo; Heather Marie DAHM; Jacob McCright; Michael Dillon; Hannah Deters; Anup Khadka
- Web page: https://patentgrep.com/patent/US20250148198A1

## CPC

- G06F 40/186: Templates
- G06F 40/56: Natural language generation
- G06F 40/205: Parsing
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computing system receives a request to generate one or more narrative frameworks for a worksheet. The worksheet is hosted by a third party server. The computing system interfaces with the third party server to retrieve data associated with the worksheet. The computing system infers attributes of the worksheet from the retrieved data. The attributes correspond to a type of data represented in the worksheet. The computing system generates a narrative template for the one or more narrative frameworks. The computing system generates one or more data variables for the one or more narrative frameworks based on the generated narrative template. The computing system constructs the one or more narrative frameworks by selectively retrieving data from the worksheet for each data variable of the one or more data variables in the narrative framework.

## Claims

### Claim 1

A method, comprising:
receiving, by a computing system, a dataset for generation of a narrative framework associated with the dataset, the narrative framework comprising a phrase that includes information based on the dataset;
inferring, by the computing system, attributes of the dataset from data content of the dataset,
identifying, by the computing system, a subset of motifs from a plurality of motifs relevant to the inferred attributes of the dataset, wherein each motif comprises a unique set of data fields;
generating, by the computing system, a narrative template for the narrative framework;
generating, by the computing system, one or more data variables for the narrative template based on the subset of motifs;
extracting, by the computing system, data values from the dataset, the data values corresponding to the one or more data variables; and
constructing, by the computing system, the narrative framework by inputting the data values into the one or more data variables of the narrative template to form the phrase of the narrative framework.

### Claim 2 (depends on 1)

The method of claim 1, wherein inferring, by the computing system, the attributes of the dataset from the data content comprises:
inferring data column types for the dataset based on the data content associated with the dataset.

### Claim 3 (depends on 1)

The method of claim 1, wherein generating, by the computing system, the narrative template for the narrative framework comprises:
matching the attributes of the dataset to the plurality of motifs to identify the subset of motifs for the narrative template.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
causing, by the computing system, display of the narrative framework in a graphical user interface.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
receiving, by the computing system via the graphical user interface, user input associated with a format of a first value in a first data variable; and
updating, by the computing system, the narrative framework based on the format.

### Claim 6 (depends on 1)

The method of claim 1, wherein a request to generate the narrative framework is received from a plugin executing with a data visualization application on a client device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving, by the computing system, a request to modify a value of a data variable of the one or more data variables in the narrative framework; and
updating, by the computing system, the data variable of the one or more data variables based on the request.

### Claim 8

A non-transitory computer readable medium comprising one or more sequences of instructions, which, when executed by a processor, causes a computing system to perform operations comprising:
receiving, by the computing system, a dataset for generation of a narrative framework associated with the dataset, the narrative framework comprising a phrase that includes information based on the dataset;
inferring, by the computing system, attributes of the dataset from data content of the dataset;
identifying, by the computing system, a subset of motifs from a plurality of motifs relevant to the inferred attributes of the dataset, wherein each motif comprises a unique set of data fields;
generating, by the computing system, a narrative template for the narrative framework, the narrative framework comprising one or more data variables based on the subset of motifs;
extracting, by the computing system, data values from the dataset, the data values corresponding to the one or more data variables; and
constructing, by the computing system, the narrative framework by inputting the data values into the one or more data variables of the narrative template to form the phrase of the narrative framework.

### Claim 9 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein inferring, by the computing system, the attributes of the dataset from the data content comprises:
inferring data column types for the dataset based on the data content associated with the dataset.

### Claim 10 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein generating, by the computing system, the narrative template for the narrative framework comprises:
matching the attributes of the dataset to the plurality of motifs to identify the subset of motifs for the narrative template.

### Claim 11 (depends on 8)

The non-transitory computer readable medium of claim 8, further comprising:
causing, by the computing system, display of the narrative framework in a graphical user interface.

### Claim 12 (depends on 11)

The non-transitory computer readable medium of claim 11, further comprising:
receiving, by the computing system via the graphical user interface, user input associated with a format of a first value in a first data variable; and
updating, by the computing system, the narrative framework based on the format.

### Claim 13 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein a request to generate the narrative framework is received from a plugin executing with a data visualization application on a client device.

### Claim 14 (depends on 8)

The non-transitory computer readable medium of claim 8, further comprising:
receiving, by the computing system, a request to modify a value of a data variable of the one or more data variables in the narrative framework; and
updating, by the computing system, the data variable of the one or more data variables based on the request.

### Claim 15

A system comprising:
a processor; and
a memory having programming instructions stored thereon, which, when executed by the processor, causes the system to perform operations comprising:
receiving a dataset for generation of a narrative framework associated with the dataset, the narrative framework comprising a phrase that includes information based on the dataset;
inferring attributes of the dataset from data content of the dataset;
identifying a subset of motifs from a plurality of motifs relevant to the inferred attributes of the dataset, wherein each motif comprises a unique set of data fields;
generating a narrative template for the narrative framework;
generating one or more data variables for the narrative template based on the subset of motifs;
extracting data values from the dataset, the data values corresponding to the one or more data variables; and
constructing the narrative framework by inputting the data values into the one or more data variables of the narrative template to form the phrase of the narrative framework.

### Claim 16 (depends on 15)

The system of claim 15, wherein inferring the attributes of the dataset from the data content comprises:
inferring data column types for the dataset based on the data content associated with the dataset.

### Claim 17 (depends on 15)

The system of claim 15, wherein generating the narrative template for the narrative framework comprises:
matching the attributes of the dataset to the plurality of motifs to identify the subset of motifs for the narrative template.

### Claim 18 (depends on 15)

The system of claim 15, wherein the operations further comprise:
causing display of the narrative framework in a graphical user interface.

### Claim 19 (depends on 18)

The system of claim 18, wherein the operations further comprise:
receiving, via the graphical user interface, user input associated with a format of a first value in a first data variable; and
updating the narrative framework based on the format.

### Claim 20 (depends on 15)

The system of claim 15, wherein the operations further comprise:
receiving a request to modify a value of a data variable of the one or more data variables in the narrative framework; and
updating the data variable of the one or more data variables based on the request.
