# US 2025/0156460 A1 · Systems and methods for generating a workflow data structure

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

- Number: US 2025/0156460 A1
- Document ID: US20250156460A1
- Status: Published application
- Kind: A1
- Application number: 18/941,807
- Filed: 2024-11-08
- Published: 2025-05-15
- Earliest claimed: 2023-11-10
- Applicants: A&E Engineering, Inc.
- Inventors: Micaela Gibson; Lauren Challe Matthews; Pamela Sellers; Edgar Jimenez; Calvin Mark Hamus; Christopher Michael Gibson
- Web page: https://patentgrep.com/patent/US20250156460A1

## CPC

- G06F 16/3344: {using natural language analysis}
- G06F 16/35: Clustering; Classification
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for generating a workflow data structure are provided. The system includes one or more processors; and one or more transitory or non-transitory computer-readable media storing instructions that are executable to cause the one or more processors to perform operations, the operations comprising: receiving input data comprising a corpus of documents, a user query, and query context data; processing the corpus of documents to generate training data; training a large language model (LLM) using the training data; classifying, using the LLM, the user query to at least one content cluster of a plurality of content clusters based on the query context data; constructing, using the LLM, a workflow data structure as a function of the classifying; and generating, using the LLM, a query response as a function of the user query, the query context data, and the workflow data structure.

## Claims

### Claim 1

A computing system for generating a workflow data structure, comprising:
one or more processors; and
one or more non-transitory computer-readable media storing instructions that are executable to cause the one or more processors to perform operations, the operations comprising:
receiving input data comprising a user query and query context data;
classifying, using a large language model (LLM), the user query to at least one content cluster of a plurality of content clusters based on the query context data;
constructing, using the LLM, a workflow data structure as a function of the classifying; and
generating, using the LLM, a query response as a function of the user query, the query context data, and the workflow data structure.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the operations further comprise:
receiving a corpus of documents;
processing the corpus of documents to generate training data, wherein processing the corpus of documents comprises:
segmenting the corpus of documents into a plurality of segments based on a semantic pattern; and
producing one or more embeddings for each segment of the plurality of segments; and
generating the training data based on the one or more embeddings; and
training the LLM using the training data.

### Claim 3 (depends on 2)

The computing system of claim 2, wherein processing the corpus of documents further comprises classifying the one or more embeddings to at least one content cluster of the plurality of content clusters.

### Claim 4 (depends on 1)

The computing system of claim 1, wherein generating the query response comprises generating a workflow report based on the workflow data structure.

### Claim 5 (depends on 1)

The computing system of claim 1, wherein the operations further comprise grounding the query response as a function of a corpus of documents using a grounding process.

### Claim 6 (depends on 1)

The computing system of claim 1, wherein the operations further comprise processing the user query and the query context data to generate a smart prompt.

### Claim 7 (depends on 1)

The computing system of claim 1, wherein the query context data comprises a user profile.

### Claim 8 (depends on 1)

The computing system of claim 1, wherein the operations further comprise:
generating one or more contextual inquiries based on the user query and the query context data;
receiving a second user query from a user based on the one or more contextual inquiries; and
updating the query context data based on the second user query.

### Claim 9

A method for generating a workflow data structure, comprising:
receiving, by one or more processors, input data comprising a corpus of documents, a user query, and query context data;
processing, by the one or more processors, the corpus of documents to generate training data;
training a large language model (LLM) using the training data;
classifying, using the LLM operating on the one or more processors, the user query to at least one content cluster of a plurality of content clusters based on the query context data;
constructing, using the LLM, a workflow data structure as a function of the classifying; and
generating, using the LLM, a query response as a function of the user query, the query context data, and the workflow data structure.

### Claim 10 (depends on 9)

The method of claim 9, wherein processing the corpus of documents comprises:
segmenting the corpus of documents into a plurality of segments based on a semantic pattern; and
producing one or more embeddings for each segment of the plurality of segments; and
generating the training data based on the one or more embeddings.

### Claim 11 (depends on 10)

The method of claim 10, wherein processing the corpus of documents further comprises classifying the one or more embeddings to at least one content cluster of the plurality of content clusters.

### Claim 12 (depends on 9)

The method of claim 9, wherein generating the query response comprises generating a workflow report based on the workflow data structure.

### Claim 13 (depends on 9)

The method of claim 9, wherein the method further comprises grounding, by the one or more processors, the query response as a function of the corpus of documents using a grounding process.

### Claim 14 (depends on 9)

The method of claim 9, wherein the method further comprises processing, by the one or more processors, the user query and the query context data to generate a smart prompt.

### Claim 15 (depends on 9)

The method of claim 9, wherein the query context data comprises a user profile.

### Claim 16 (depends on 9)

The method of claim 9, wherein the method further comprises:
generating, by the LLM, one or more contextual inquiries based on the user query and the query context data;
receiving, by the LLM, a second user query from a user based on the one or more contextual inquiries; and
updating, by the LLM, the query context data based on the second user query.

### Claim 17

A computing system for generating a workflow data structure, comprising:
one or more processors; and
one or more transitory or non-transitory computer-readable media storing instructions that are executable to cause the one or more processors to perform operations, the operations comprising:
receiving input data comprising a corpus of documents;
processing the corpus of documents to generate training data, wherein processing the corpus of documents comprises:
segmenting the corpus of documents into a plurality of segments based on a semantic pattern;
producing one or more embeddings for each segment of the plurality of segments; and
generating the training data based on the one or more embeddings; and
training a large language model (LLM) using the training data.

### Claim 18 (depends on 17)

The computing system of claim 17, wherein training the LLM further comprises specifically training the LLM using the training data.

### Claim 19 (depends on 17)

The computing system of claim 17, wherein the operations further comprise:
receiving a user query and query context data;
classifying, using the LLM, the user query to at least one content cluster of a plurality of content clusters based on the query context data;
constructing, using the LLM, a workflow data structure as a function of the classifying; and
generating, using the LLM, a query response as a function of the user query, the query context data, and the workflow data structure.

### Claim 20 (depends on 19)

The computing system of claim 19, wherein the operations further comprise:
generating one or more contextual inquiries based on the user query and the query context data;
receiving a second user query from a user based on the one or more contextual inquiries; and
updating the query context data based on the second user query.
