# US 2025/0165247 A1 · Generative ai system for automated programming and accelerated code modification

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

- Number: US 2025/0165247 A1
- Document ID: US20250165247A1
- Status: Published application
- Kind: A1
- Application number: 18/513,159
- Filed: 2023-11-17
- Published: 2025-05-22
- Earliest claimed: 2023-11-17
- Assignees: Intuit Inc.
- Applicants: Intuit Inc.
- Inventors: Malathy MUTHU; Ankita SINHA
- Web page: https://patentgrep.com/patent/US20250165247A1

## CPC

- G06F 8/658: Incremental updates; Differential updates
- G06F 8/30: Creation or generation of source code
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Aspects of the present disclosure relate to automatically updating a software application to ensure compliance with an updated data source. Embodiments include providing an embedding of a first version of a data source and an embedding of a second version of the data source to a comparison engine configured to compare the embedding of the first version of the data source and the embedding of the second version of the data source and generate a data source difference summary. Embodiments further include providing an embedding of a software application code module and the data source difference summary to a code update engine trained to generate an updated version of the software application code module based on the embedding of the software application code module and the data source difference summary. Embodiments further include updating code of the software application using the updated version of the software application code module.

## Claims

### Claim 1

A method for automatically updating a software application to ensure compliance with an updated data source, the method comprising:
providing an embedding of a first version of a data source and an embedding of a second version of the data source to a comparison engine, wherein the comparison engine has been configured to:
compare the embedding of the first version of the data source and the embedding of the second version of the data source; and
generate a data source difference summary that is based on differences between the embedding of the first version of the data source and the embedding of the second version of the data source;
providing an embedding of a software application code module and the data source difference summary to a code update engine, wherein the code update engine comprises one or more machine learning models that have been trained to generate an updated version of the software application code module based on the embedding of the software application code module and the data source difference summary; and
updating code of the software application using the updated version of the software application code module.

### Claim 2 (depends on 1)

The method of claim 1, wherein the code update engine further comprises:
a first machine learning model that has been trained to generate an application code change instruction, based on the data source difference summary and the embedding of the software application code module, that indicates one or more changes to the software application code module; and
a second machine learning model that has been trained to generate an updated version of the software application code module based on the embedding of the software application code module and the application code change instruction.

### Claim 3 (depends on 2)

The method of claim 2, wherein the second machine learning model was trained through a supervised learning process to generate updated software application code modules that are semantically and syntactically consistent with existing software code.

### Claim 4 (depends on 2)

The method of claim 2, wherein the first machine learning model is a large language model.

### Claim 5 (depends on 2)

The method of claim 2, wherein the second machine learning model is a generative machine learning model.

### Claim 6 (depends on 1)

The method of claim 1, wherein the comparison engine uses cosine similarity to compare the embedding of the first version of the data source to the embedding of the second version of the data source.

### Claim 7 (depends on 1)

The method of claim 1, wherein the comparison engine uses a Jaccard index to compare the embedding of the first version of the data source to the embedding of the second version of the data source.

### Claim 8 (depends on 1)

The method of claim 1, wherein the embedding of the software application code module comprises a plurality of embeddings of subsets of the software application code module, and wherein the subsets of the software application code module correspond to a configured subset size.

### Claim 9 (depends on 8)

The method of claim 8, wherein the code update engine determines one or more particular subsets of the subsets of the software application code module that are to be changed based on the plurality of embeddings of the subsets of the software application code module.

### Claim 10

A method for automatically updating a software application to ensure compliance with an updated data source, the method comprising:
creating an embedding of a first version of a data source;
creating an embedding of a second version of the data source;
providing the embedding of the first version of the data source and the embedding of the second version of the data source to a comparison engine, wherein the comparison engine has been configured to:
compare the embedding of the first version of the data source and the embedding of second version of the data source; and
generate a data source difference summary that is based on differences between the embedding of the first version of the data source and the embedding of the second version of the data source;
creating an embedding of a software application code module;
providing the embedding of the software application code module and the data source difference summary to a first machine learning model that has been trained to generate an application code change instruction, based on the data source difference summary and the embedding of the software application code module, that indicates one or more changes to the software application code module; and
providing the embedding of the software application code module and the application code change instruction to a second machine learning model that has been trained to generate an updated version of the software application code module based on the embedding of the software application code module and the application code change instruction; and
updating code of the software application using the updated version of the software application code module.

### Claim 11

A system, comprising: one or more processors; and a memory comprising instructions that, when executed by the one or more processors, cause the system to perform a method for automatically updating a software application to ensure compliance with an updated version of a data source, the method comprising:
providing an embedding of a first version of a data source and an embedding of a second version of the data source to a comparison engine, wherein the comparison engine has been configured to:
compare the embedding of the first version of the data source and the embedding of the second version of the data source; and
generate a data source difference summary that is based on differences between the embedding of the first version of the data source and the embedding of the second version of the data source;
providing an embedding of a software application code module and the data source difference summary to a code update engine, wherein the code update engine comprises one or more machine learning models that have been trained to generate an updated version of the software application code module based on the embedding of the software application code module and the data source difference summary; and
updating code of the software application using the updated version of the software application code module.

### Claim 12 (depends on 11)

The system of claim 11, wherein the code update model further comprises:
a first machine learning model that has been trained to generate an application code change instruction, based on the data source difference summary and the embedding of the software application code module, that indicates one or more changes to the software application code module; and
a second machine learning model that has been trained, based on the embedding of the software application code module and the application code change instruction, to generate an updated version of the software application code module and update code of the software application using the updated version of the software application code module.

### Claim 13 (depends on 12)

The system of claim 12, wherein the first machine learning model has been trained through a supervised learning process to generate updated versions of software application code modules that are semantically and syntactically consistent with existing software code.

### Claim 14 (depends on 12)

The system of claim 12, wherein the second machine learning model has been trained through a supervised learning process to generate updated versions of software application code modules that accurately reflect changes from the first version of the data source to the second version of the data source.

### Claim 15 (depends on 12)

The system of claim 12, wherein the first machine learning model is a natural language processing algorithm.

### Claim 16 (depends on 12)

The system of claim 12, wherein the second machine learning model is a generative model.

### Claim 17 (depends on 11)

The system of claim 11, wherein the comparison engine uses cosine similarity to compare the first version of the data source to the second version of the data source.

### Claim 18 (depends on 11)

The system of claim 11, wherein the comparison engine uses a Jaccard index to compare the first version of the data source to the second version of the data source.

### Claim 19 (depends on 11)

The system of claim 11, wherein the embedding of the software application code module comprises a plurality of embeddings of subsets of the software application code module, and wherein the subsets of the software application code module correspond to a configured subset size.

### Claim 20 (depends on 19)

The system of claim 19, wherein the code update engine determines one or more particular subsets of the subsets of the software application code module that are to be changed based on the plurality of embeddings of the subsets of the software application code module.
