Patent ID: 11928444
Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A computer-implemented method for editing selected file content, comprising:
receiving the selected file content;
receiving an input message that describes an editing objective in editing the selected file content;
producing current context information that includes text tokens that make up at least the selected file content and the input message;
requesting a pattern-completion engine to generate edit information based on the current context information, the edit information describing one or more changes to the selected file content that satisfy the editing objective,
the pattern-completion engine using a machine-trained autoregressive text-completion model that uses a neural network decoder, the autoregressive text-completion model having been trained by a training process based on information extracted from a repository that describes revisions made to plural files, and
based on training examples that are selected to satisfy one or more tests, each particular revision in the repository including a revision message that describes an objective of the particular revision, and file change information that implements the particular revision; and
receiving the edit information from the pattern-completion engine, and presenting the edit information on a user interface presentation,
said one or more tests being used to increase a likelihood that the edit information, when executed on a program execution platform, satisfies specified performance objectives.