MUMBAI, India, July 13 -- Intellectual Property India has published a patent application (202521002123 A) filed by Tata Consultancy Services Limited on January 09, 2025, for Generation Of Prompts For Generative Artificial Intelligence Model Using Contextual Information From Legacy Source Code.

Inventors include Ravindranath, Yogananda; Mehalingam, Tamildurai; Nagapundu, Shiva Kumar; Chinthamani, Renganayagi; Ambalavanan, Arunachalam; and Santhana Krishnan, Navaneetha Krishnan.

The application for the patent was published on July 10, 2026, under issue no. 28/2026.

Abstract: ABSTRACT GENERATION OF PROMPTS FOR GENERATIVE ARTIFICIAL INTELLIGENCE MODEL USING CONTEXTUAL INFORMATION FROM LEGACY SOURCE CODE Usage of generative artificial intelligence (GenAI) models require appropriate prompts that describe a task to be completed. Conventionally complexities of large sizes and monolithic nature of input code are difficult for handling. The present disclosure resolves problems of conventional approaches by providing a system and method for generation of prompts for GenAI model using contextual information from legacy source code. The method of the present disclosure extracts relevant information from the legacy source code as context in natural language form which is provided as input to create the prompts required to enable successful usage of the GenAI model in multiple tasks of code analysis. In the present disclosure, information from legacy application code about business domain is extracted. Input legacy source code is parsed, and technical explanation is provided by handling the syntax and semantics of language. The legacy source code is split logically into blocks of manageable units. [

Disclaimer: Curated by HT Syndication.