Jump to content

18384670. FIXING USAGES OF DEPRECATED APIS USING LARGE LANGUAGE MODELS (Microsoft Technology Licensing, LLC)

From WikiPatents
Revision as of 10:23, 2 May 2025 by Wikipatents (talk | contribs) (Creating a new page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


FIXING USAGES OF DEPRECATED APIS USING LARGE LANGUAGE MODELS

Organization Name

Microsoft Technology Licensing, LLC

Inventor(s)

Max Schaefer of Kidlington GB

Sarah Ezzeldin Mostafa Nadi of Edmonton CA

FIXING USAGES OF DEPRECATED APIS USING LARGE LANGUAGE MODELS

This abstract first appeared for US patent application 18384670 titled 'FIXING USAGES OF DEPRECATED APIS USING LARGE LANGUAGE MODELS

Original Abstract Submitted

Techniques for intelligently prompting an LLM to fix code are disclosed. A corpus of release notes for a set of libraries is accessed. The release notes include information describing deprecated or removed APIs associated with the libraries. The corpus is stored in a vector database. A code snippet is accessed. This snippet is identified as potentially using a deprecated API. The code snippet is used to identify a set of release notes from the vector database. These release notes are determined to satisfy a threshold level of similarity with the code snippet. An LLM prompt is built and is fed to the LLM. The LLM prompt instructs the LLM to update the code snippet based on the identified set of release notes. Output of the LLM is displayed. This output includes a proposed rewritten version of the code snippet.

(Ad) Transform your business with AI in minutes, not months

Custom AI strategy tailored to your specific industry needs
Step-by-step implementation with measurable ROI
5-minute setup that requires zero technical skills
Get your AI playbook

Trusted by 1,000+ companies worldwide

Cookies help us deliver our services. By using our services, you agree to our use of cookies.