# US 2026/0099302 A1 · Llm text editing using uuid line tags

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

- Number: US 2026/0099302 A1
- Document ID: US20260099302A1
- Status: Published application
- Kind: A1
- Application number: 18/911,181
- Filed: 2024-10-09
- Published: 2026-04-09
- Earliest claimed: 2024-10-09
- Assignees: Sony Interactive Entertainment Inc.
- Applicants: Sony Interactive Entertainment LLC
- Inventors: Khalil Bibi; Joseph Logan Olson; Evan Jones; Kyungseo Cho
- Web page: https://patentgrep.com/patent/US20260099302A1

## CPC

- G06F 8/35: model driven
- G06F 8/33: Intelligent editors
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one aspect, a generative text model can be used to generate coding editing instructions according to a natural language prompt. Specifically, unique ID line tags may be prepended to lines of the code that are to be edited. The code with unique ID line tags may then be given to a generative model along with a natural language prompt setting forth one or more parameters for the edits. The LLM may then be used to generate the customized editing instructions. The editing instructions may then be received from the LLM and used post-processing to edit the code. After that, the unique ID line tags may be removed and the edited code may be returned to the user.

## Claims

### Claim 1

An apparatus, comprising:
at least one processor system configured to:
receive a prompt to a large language model (LLM), the prompt comprising a request, in natural language, for editing instructions for editing one or more lines of code according to one or more parameters indicated in the prompt;
based on the prompt, provide the prompt and the one or more lines of code to the LLM and use the LLM to generate the editing instructions for editing the one or more lines of code, each of the one or more lines of code indicating a respective universally unique identifier (UUID) located at the beginning of the respective line of code;
receive the editing instructions from the LLM; and
edit the one or more lines of code according to the editing instructions.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the editing instructions are output by the LLM as a list of editing instructions for editing different lines of the one or more lines of code, each of the editing instructions in the list indicating a respective UUID for each line of code to be edited.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the instructions are executable to:
prepend the UUIDs to the respective lines of code prior to providing the one or more lines of code to the LLM.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the at least one processor system is configured to:
responsive to receiving the editing instructions from the LLM, edit the code according to the editing instructions, remove the UUIDs from the respective lines of code, and return the edited code to a user.

### Claim 5 (depends on 3)

The apparatus of claim 3, wherein the UUIDs prepended to each respective line of code are random UUIDs.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the random UUIDs comprise alphabetical characters.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the editing instructions indicate an insert action to insert a chunk of code after a specific line indicated, via UUID, in the editing instructions.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the editing instructions indicate a delete action to drop a code snippet from a specific line identified, via UUID, in the editing instructions.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the editing instructions indicate a replace action to replace a first code snippet in a specific line of code with a second code snippet different from the first code snippet, the specific line of code identified, via UUID, in the editing instructions.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the editing instructions indicate a replace operation to replace plural first code snippets in plural lines of code with second plural code snippets different from the first code snippets, the plural lines of code identified, via a range of UUIDs, in the editing instructions.

### Claim 11

A method, comprising:
receiving a prompt to a model, the prompt comprising a request, in natural language, for editing instructions for editing one or more lines of code according to one or more parameters indicated in the prompt;
based on the prompt, providing the prompt and the one or more lines of code to the model and using the model to generate the editing instructions for editing the one or more lines of code, each of the one or more lines of code indicating a respective unique identifier (ID) located at the beginning of the respective line of code;
receiving the editing instructions from the model; and
editing the one or more lines of code according to the editing instructions.

### Claim 12 (depends on 11)

The method of claim 11, wherein the model is a generative text model.

### Claim 13 (depends on 12)

The method of claim 12, wherein the model is a large language model (LLM).

### Claim 14 (depends on 11)

The method of claim 11, the editing instructions are output by the model as a list of editing instructions for editing different lines of the one or more lines of code, each of the editing instructions in the list indicating a respective unique ID for each line of code to be edited.

### Claim 14 (depends on 11)

The method of claim 11, comprising:
prepending the unique IDs to the respective lines of code prior to providing the one or more lines of code to the model.

### Claim 15 (depends on 11)

The method of claim 11, comprising:
responsive to receiving the editing instructions from the model, editing the code according to the editing instructions, removing the unique IDs from the respective lines of code, and returning the edited code to a user.

### Claim 16 (depends on 11)

The method of claim 11, wherein the editing instructions indicate an insert action to insert a chunk of code after a specific line indicated, via unique ID, in the editing instructions.

### Claim 17 (depends on 11)

The method of claim 11, wherein the editing instructions indicate a delete action to drop a code snippet from a specific line identified, via unique ID, in the editing instructions.

### Claim 18 (depends on 11)

The method of claim 11, wherein the editing instructions indicate a replace action to replace a first code snippet in a specific line of code with a second code snippet different from the first code snippet, the specific line of code identified, via unique ID, in the editing instructions.

### Claim 19

An apparatus, comprising:
at least one computer readable storage medium (CRSM) that is not a transitory signal, the at least one CRSM comprising instructions executable by a processor system to:
receive input to a model, the input comprising a request, in natural language, for editing instructions for editing one or more lines of code according to one or more parameters indicated in the input;
based on the input, provide the input and the one or more lines of code to the model and use the model to generate the editing instructions for editing the one or more lines of code, each of the one or more lines of code indicating a respective unique identifier (ID);
receive the editing instructions from the model; and
edit the one or more lines of code according to the editing instructions.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the instructions are executable to:
prepend the unique IDs to the respective lines of code prior to providing the one or more lines of code to the model; and
responsive to receiving the editing instructions from the model, edit the code according to the editing instructions, remove the unique IDs from the respective lines of code, and return the edited code at a client device.
