# US 2024/0202285 A1 · Generating ChatOps Based Process Orchestration Flows

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

- Number: US 2024/0202285 A1
- Document ID: US20240202285A1
- Status: Published application
- Kind: A1
- Application number: 18/083,636
- Filed: 2022-12-19
- Published: 2024-06-20
- Earliest claimed: 2022-12-19
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: SAMPATH DECHU; Neelamadhav Gantayat; Avirup Saha; Dharma Teja Atluri
- Web page: https://patentgrep.com/patent/US20240202285A1

## CPC

- G06F 18/23211: with adaptive number of clusters
- G06F 18/2415: based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
- G06F 40/166: Editing, e.g. inserting or deleting
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 40/35: Discourse or dialogue representation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Mechanisms are provided for automated generation of an electronic form for an electronic messaging subsystem. Historical conversation logs are obtained from the electronic messaging subsystem which comprise a plurality of communication sequences. Communication sequences within the historical conversation logs are clustered according to similarity of features. For each cluster the following operations are performed: identifying, within the cluster, sequences of normalized utterances that are repeated across communication sequences of the cluster; categorizing each sequence, in a set of the sequences of normalized utterances, as to whether the sequence can be represented as one or more electronic forms; and extracting, for each communication sequence in the cluster, attributes and corresponding attribute values. One or more electronic form data structures are generated based on the attributes and corresponding attribute values extracted for each communication sequence in the cluster.

## Claims

### Claim 1

A method, in a data processing system, for automated generation of electronic form for an electronic messaging subsystem, the method comprising:
obtaining historical conversation logs from the electronic messaging system, wherein the historical conversation logs comprise a plurality of communication sequences;
clustering communication sequences within the historical conversation logs according to similarity of features to thereby generate clusters of communication sequences;
for each cluster in the clusters of communication sequences:
identifying, within the cluster, sequences of normalized utterances that are repeated across communication sequences of the cluster;
categorizing each sequence, in a set of the sequences of normalized utterances, as to whether the sequence can be represented as one or more electronic forms; and
extracting, for each communication sequence in the cluster, attributes and corresponding attribute values; and
generating, for at least one cluster, in response to at least one sequence of the at least one cluster being categorized as being able to be represented as one or more electronic forms, one or more electronic form data structures based on the attributes and corresponding attribute values extracted for each communication sequence in the at least one cluster.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining, based on an artificial intelligence computer model analysis of the historical conversation logs, a user preference for a user with regard to using electronic forms or using a conversational interchange of messages to accomplish tasks; and
in response to the user preference for the user being to use electronic forms, presenting an electronic form, based on the one or more electronic form data structures, to the user via the electronic messaging system.

### Claim 3 (depends on 1)

The method of claim 1, wherein clustering communication sequences within the historical conversation logs comprises executing natural language processing computer logic on the historical conversation logs to extract the features from the historical conversation logs, wherein the features comprise terms or phrases that reference tasks or issues being discussed in the historical conversation logs.

### Claim 4 (depends on 1)

The method of claim 1, wherein identifying sequences of normalized utterances that are repeated across communication sequences of the cluster comprises:
determining a frequency of occurrence of each sequence of normalized utterances in the identified sequences of normalized utterances; and
selecting the set of the sequences of normalized utterances as those sequences of normalized utterances for which the frequency of occurrence is equal to or greater than a predetermined threshold value.

### Claim 5 (depends on 1)

The method of claim 1, wherein categorizing each sequence, in the set of the sequences of normalized utterances, as to whether the sequence can be represented as one or more electronic forms comprises executing at least one of a rule-based classifier computing model or a trained neural network computer model on the patterns of characteristics of the sequence to classify the sequence as either a first class of sequence for which one or more electronic forms may be used to gather information gathered as part of the sequence or a second class of sequence for which one or more electronic forms may not be used.

### Claim 6 (depends on 1)

The method of claim 1, further comprising, for each cluster in the clusters of communication sequences, identifying and storing a triggering utterance for the cluster in association with the one or more electronic form data structures, wherein the triggering utterance is an utterance that, when identified in a subsequent electronic communication, triggers presentation of an electronic form in the electronic messaging system based on the associated one or more electronic form data structures.

### Claim 7 (depends on 1)

The method of claim 1, wherein generating the one or more electronic form data structures comprises generating a plurality of different electronic form data structures, wherein each different electronic form data structure corresponds to a different entity in an electronic communication interchange, and wherein the plurality of different electronic form data structures are associated with a workflow sequence to present corresponding electronic forms to the different entities in accordance with an order of the workflow sequence.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
generating an electronic form based on the one or more electronic form data structures, in response to a normalized utterance of the at least one cluster being detected in a subsequent electronic communication of an ongoing electronic communication session between a plurality of users; and
presenting the electronic form to at least one user in the plurality of users via the electronic communication system as part of the ongoing electronic communication session, wherein the electronic form comprises fields that are of a type corresponding to the attributes and attribute values.

### Claim 9 (depends on 8)

The method of claim 8, wherein the fields present predetermined value options for selection by the at least one user based on the attribute values for attributes corresponding to the fields.

### Claim 10 (depends on 1)

The method of claim 1, wherein the electronic messaging system is a subsystem of a ChatOps environment, and wherein the historical conversation logs are logs of asynchronous electronic communications between two or more entities via the subsystem.

### Claim 11

A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a data processing system, causes the data processing system to automatically generate an electronic form for an electronic messaging subsystem at least by:
obtaining historical conversation logs from the electronic messaging system, wherein the historical conversation logs comprise a plurality of communication sequences;
clustering communication sequences within the historical conversation logs according to similarity of features to thereby generate clusters of communication sequences;
for each cluster in the clusters of communication sequences:
identifying, within the cluster, sequences of normalized utterances that are repeated across communication sequences of the cluster;
categorizing each sequence, in a set of the sequences of normalized utterances, as to whether the sequence can be represented as one or more electronic forms; and
extracting, for each communication sequence in the cluster, attributes and corresponding attribute values; and
generating, for at least one cluster, in response to at least one sequence of the at least one cluster being categorized as being able to be represented as one or more electronic forms, one or more electronic form data structures based on the attributes and corresponding attribute values extracted for each communication sequence in the at least one cluster.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the computer readable program further causes the data processing system to generate the electronic form for the electronic messaging system at least by:
determining, based on an artificial intelligence computer model analysis of the historical conversation logs, a user preference for a user with regard to using electronic forms or using a conversational interchange of messages to accomplish tasks; and
in response to the user preference for the user being to use electronic forms, presenting an electronic form, based on the one or more electronic form data structures, to the user via the electronic messaging system.

### Claim 13 (depends on 11)

The computer program product of claim 11, wherein clustering communication sequences within the historical conversation logs comprises executing natural language processing computer logic on the historical conversation logs to extract the features from the historical conversation logs, wherein the features comprise terms or phrases that reference tasks or issues being discussed in the historical conversation logs.

### Claim 14 (depends on 11)

The computer program product of claim 11, wherein identifying sequences of normalized utterances that are repeated across communication sequences of the cluster comprises:
determining a frequency of occurrence of each sequence of normalized utterances in the identified sequences of normalized utterances; and
selecting the set of the sequences of normalized utterances as those sequences of normalized utterances for which the frequency of occurrence is equal to or greater than a predetermined threshold value.

### Claim 15 (depends on 11)

The computer program product of claim 11, wherein categorizing each sequence, in the set of the sequences of normalized utterances, as to whether the sequence can be represented as one or more electronic forms comprises executing at least one of a rule-based classifier computing model or a trained neural network computer model on the patterns of characteristics of the sequence to classify the sequence as either a first class of sequence for which one or more electronic forms may be used to gather information gathered as part of the sequence or a second class of sequence for which one or more electronic forms may not be used.

### Claim 16 (depends on 11)

The computer program product of claim 11, wherein the computer readable program further causes the data processing system to generate the electronic form for the electronic messaging system at least by, for each cluster in the clusters of communication sequences:
identifying and storing a triggering utterance for the cluster in association with the one or more electronic form data structures, wherein the triggering utterance is an utterance that, when identified in a subsequent electronic communication, triggers presentation of an electronic form in the electronic messaging system based on the associated one or more electronic form data structures.

### Claim 17 (depends on 11)

The computer program product of claim 11, wherein generating the one or more electronic form data structures comprises generating a plurality of different electronic form data structures, wherein each different electronic form data structure corresponds to a different entity in an electronic communication interchange, and wherein the plurality of different electronic form data structures are associated with a workflow sequence to present corresponding electronic forms to the different entities in accordance with an order of the workflow sequence.

### Claim 18 (depends on 11)

The computer program product of claim 11, wherein the computer readable program further causes the data processing system to generate the electronic form for the electronic messaging system at least by:
generating an electronic form based on the one or more electronic form data structures, in response to a normalized utterance of the at least one cluster being detected in a subsequent electronic communication of an ongoing electronic communication session between a plurality of users; and
presenting the electronic form to at least one user in the plurality of users via the electronic communication system as part of the ongoing electronic communication session, wherein the electronic form comprises fields that are of a type corresponding to the attributes and attribute values.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the fields present predetermined value options for selection by the at least one user based on the attribute values for attributes corresponding to the fields.

### Claim 20

An apparatus comprising:
at least one processor; and
at least one memory coupled to the at least one processor, wherein the at least one memory comprises instructions which, when executed by the at least one processor, cause the at least one processor to automatically generate an electronic form for an electronic messaging subsystem at least by:
obtaining historical conversation logs from the electronic messaging system, wherein the historical conversation logs comprise a plurality of communication sequences;
clustering communication sequences within the historical conversation logs according to similarity of features to thereby generate clusters of communication sequences;
for each cluster in the clusters of communication sequences:
identifying, within the cluster, sequences of normalized utterances that are repeated across communication sequences of the cluster;
categorizing each sequence, in a set of the sequences of normalized utterances, as to whether the sequence can be represented as one or more electronic forms; and
extracting, for each communication sequence in the cluster, attributes and corresponding attribute values; and
generating, for at least one cluster, in response to at least one sequence of the at least one cluster being categorized as being able to be represented as one or more electronic forms, one or more electronic form data structures based on the attributes and corresponding attribute values extracted for each communication sequence in the at least one cluster.
