18384670. FIXING USAGES OF DEPRECATED APIS USING LARGE LANGUAGE MODELS (Microsoft Technology Licensing, LLC)
FIXING USAGES OF DEPRECATED APIS USING LARGE LANGUAGE MODELS
Organization Name
Microsoft Technology Licensing, LLC
Inventor(s)
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
Trusted by 1,000+ companies worldwide