/Patent Tracker
MicrosoftPatent applicationAI & softwareInterest 6/10

Microsoft patents service that builds custom AI prompts for coding tasks

Microsoft describes a service that automatically creates specific instructions for large language models to handle software engineering tasks. It combines standard templates with a client's own code history, reviews, and tests to help the model generate or fix code more accurately.

Why it mattersThis approach could make AI coding assistants more effective by tailoring their responses to a specific company's unique code style and history rather than relying on generic instructions.

In the filing’s own words

A customized prompt generation service automates prompts to a large language model to perform a specified software engineering task. The service stores the custom data of a client that includes code diff hunks, source code segments, code reviews, repaired code, and unit tests from a code base or repository of the client. Prompt templates are associated with each software engineering task that include the requisite information needed for the large language model to perform the target task. A prompt to a large language model includes examples of the software engineering task from the custom data of the client of the service.

What exactly they claim (claim 1)

1. A system comprising: a processor; and a hardware storage device that stores instructions that are executable by the processor to cause the system to: provide a service configured to generate a prompt for a model to perform a software engineering task; receive a request associated with the software engineering task; obtain a prompt template corresponding to the software engineering task; generate a prompt for the model based on the prompt template and data associated with the request; transmit the prompt to the model to cause the model to perform the software engineering task; receive an output of the model indicative of a software artifact associated with the software engineering task; determine a classification associated with the output; and use the classification to retrieve candidate artifacts from a retrieval‑augmented data store, the candidate artifacts being usable to perform at least one of modifying, analyzing, or generating software corresponding to the software engineering task.

Facts

Company
Microsoft (Microsoft Technology Licensing, LLC)
Official title
CUSTOMIZED PROMPT GENERATION SERVICE FOR SOFTWARE ENGINEERING TASKS
Publication number
US20260278303A1
Application number
19683577
Filed
May 20, 2026
Published
Sep 17, 2026
Inventors
6
Claims
20

Classified under

G06F 40/40 Physics & computingG06F 8/77 Physics & computingG06N 20/00 Physics & computing

More from Microsoft in AI & software

Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.