# US 2021/0342554 A1 · Automated narratives of interactive communications

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

- Number: US 2021/0342554 A1
- Document ID: US20210342554A1
- Status: Published application
- Kind: A1
- Application number: 17/301,483
- Filed: 2021-04-05
- Published: 2021-11-04
- Earliest claimed: 2020-04-29
- Assignees: Clarabridge, Inc.
- Applicants: Clarabridge,Inc.
- Inventors: Fabrice Martin; Rafael Algara-Torre; Leonardo Apolonio; Mark Arehart; Zhexin Chen; Sandesh Gade; Caroline Kinsella; Ellen Loeshelle; Ram Ramachandran; Maksym Shcherbina; Eliana Vornov; Ivan Volonsevich
- Web page: https://patentgrep.com/patent/US20210342554A1

## CPC

- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/355: Creation or modification of classes or clusters
- G06F 40/117: Tagging; Marking up (details of markup languages G06F40/143); Designating a block; Setting of attributes (style sheets, e.g. eXtensible Stylesheet Language Transformation [XSLT], G06F40/154)
- G06F 40/151: Transformation
- G06F 40/186: Templates
- G06F 40/30: Semantic analysis
- G06F 40/35: Discourse or dialogue representation
- G06F 40/56: Natural language generation
- G06Q 10/0639: Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Implementations analyze transaction data and objectively capture pre-identified desired information about the analyzed transaction data in a consistently organized manner. An example system includes a user interface that enables a user to provide static portions and dynamic portions of a template. The dynamic portions identify variables that are replaced with either data extracted from the transaction or text based on the output of classifiers applied to the transaction. An example method includes applying classifiers to scoring units of a transaction to generate classifier tags for the scoring units and generating a narrative by replacing variables in an automated narrative template with text based on at least some of the classifier tags. The automated narrative template includes non-variable portions and at least some variable portions, each identifying a template variable and having variable replacement logic configured to replace the template variable using the classifier tags and/or data extracted from the transaction.

## Claims

### Claim 1

A system comprising:
at least one processor;
memory storing a library of classifiers;
memory storing instructions that, when executed by the at least one processor, causes the system to perform operations including:
providing a user interface configured to generate an automated narrative template by receiving non-variable text and variable portions, wherein each variable portion of the variable portions represents a template variable selected by a user that is associated with variable replacement logic configured to replace the template variable with text based on data derived from a transaction, wherein the template variable identifies one of a field tag or a classifier tag, and
storing the automated narrative template in a data store; and
memory storing an automated narrative engine configured to use the automated narrative template to generate and store, for a transaction, a narrative, wherein generating the narrative includes executing variable replacement logic for a field tag to replace the field tag with data extracted from the transaction and executing variable replacement logic for a classifier tag to replace the classifier tag with text based on output of a classifier from the library of classifiers applied to at least one scoring unit of the transaction.

### Claim 2 (depends on 1)

The system of claim 1, wherein the automated narrative template further includes a variable portion of the variable portions having a template variable that identifies a conditional tag.

### Claim 3 (depends on 2)

The system of claim 2, wherein the conditional tag includes a condition portion and a template portion, the condition portion identifying a classifier tag and wherein the variable replacement logic for the conditional tag is configured to evaluate the condition portion based on output of a classifier for the classifier tag identified in the condition portion and include the template portion in the narrative in accordance with the evaluation.

### Claim 4 (depends on 1)

The system of claim 1, wherein at least one of the classifiers in the library of classifiers takes as input the output of a first classifier in the library of classifiers and the output of a second classifier in the library of classifiers.

### Claim 5 (depends on 1)

The system of claim 1, wherein at least one of the classifiers in the library of classifiers takes as input metadata describing participants, special events, dead air, and hesitation in the transaction.

### Claim 6 (depends on 1)

The system of claim 1, wherein at least one of the classifiers in the library of classifiers is a reason detector configured to label a sentence in the transaction as including or not including a contact reason.

### Claim 7

A method comprising:
receiving a transaction, the transaction including scoring units;
generating metadata for the transaction and the scoring units;
applying classifiers in a library of classifiers to the scoring units to generate classifier tags for the scoring units, at least some of the classifiers using the metadata as input;
generating a narrative from an automated narrative template stored in a memory, the automated narrative template including non-variable portions and at least a first variable portion by executing variable replacement logic for the first variable portion that replaces a variable in the first variable portion with text using output of a classifier in the library of classifiers; and
storing the narrative for the transaction.

### Claim 8 (depends on 7)

The method of claim 7, wherein the transaction is an interaction between a customer and a first agent and the method further comprises:
displaying the narrative to a second agent, the second agent interacting with the customer as part of a second transaction.

### Claim 9 (depends on 7)

The method of claim 7, wherein the metadata for the transaction includes normalized timestamps measuring time units since a first scoring unit, a relative position of scoring units within the transaction, and a time to first response, wherein the transaction metadata is used as input for at least some of the classifiers.

### Claim 10 (depends on 9)

The method of claim 9, wherein the metadata for the transaction includes metadata for silence, hesitation, and dead air in the transaction.

### Claim 11 (depends on 7)

The method of claim 7, wherein the metadata for the transaction includes metadata for overtalk in the transaction.

### Claim 12 (depends on 7)

The method of claim 7, wherein the automated narrative template includes a second variable portion that includes a field tag, and the method further includes replacing the field tag with a value extracted from the transaction or a metadata value generated for the transaction.

### Claim 13 (depends on 7)

The method of claim 7, wherein the automated narrative template includes a second variable portion that includes a conditional tag, the conditional tag including a condition portion and a template portion, the condition portion be associated with a second classifier of the classifiers and the method further includes:
evaluating the condition portion based on output of the second classifier; and
including, in accordance with the evaluation, the template portion in the narrative.

### Claim 14 (depends on 7)

The method of claim 7, wherein the automated narrative template includes a second variable portion that includes a conditional tag, the conditional tag including a condition portion and a second variable portion associated with a second classifier of the classifiers and the method further includes:
evaluating the condition portion; and
including, in accordance with the evaluation, a value based on output of the second classifier for the transaction.

### Claim 15 (depends on 7)

The method of claim 7, wherein at least one of the classifiers is a reason detector configured to label a sentence in the transaction as including or not including a contact reason.

### Claim 16 (depends on 15)

The method of claim 15, wherein the reason detector is a multi-class classifier and is further configured to label a sentence in the transaction as a reason for requiring empathy.

### Claim 17 (depends on 7)

The method of claim 7, wherein at least one of the classifiers is an emotional intelligence detector configured to label an agent participant as either displaying emotional intelligence or lacking emotional intelligence.

### Claim 18 (depends on 17)

The method of claim 17, wherein at the emotional intelligence detector takes as input an indication of whether, for the transaction, empathy was needed or not and whether empathy was displayed or not.

### Claim 19 (depends on 7)

The method of claim 7, wherein the narrative is requested by a source system and the method further comprises:
sending the narrative to the source system.

### Claim 20 (depends on 7)

The method of claim 7, further comprising sending the narrative to a third party server.

### Claim 21 (depends on 7)

The method of claim 7, the method further comprising:
providing a user interface for editing the automated narrative template;
receiving a new non-variable portion;
receiving a new variable portion, including receiving variable replacement logic for replacing the new variable portion with output obtained from a second classifier of the classifiers; and
storing the edits to template in the memory.
