Automated prompt generator using differential evolution and chain of thought
AssigneeGenpact USA, Inc.
InventorsDivyanshi Yadav, Varsha Rani, Prakash Selvakumar, Sreekanth Menon
Life of this patent
Estimating the term…
Loading patent…
AssigneeGenpact USA, Inc.
InventorsDivyanshi Yadav, Varsha Rani, Prakash Selvakumar, Sreekanth Menon
Estimating the term…
A method and system for automatically generating prompts is disclosed. In some embodiments, the method includes providing user input to large language models (LLMs) utilizing meta prompting to generate a set of prompts represented by vectors. The method includes the LLMs identifying differential vector(s) from the vectors, mutating the vectors with the differential vector(s), and using first algorithm(s) to determine mutated prompt vector(s). The method includes generating an intermediate prompt by combining the mutated prompt vector(s) with the set of prompts and selecting a prompt vector using second algorithm(s). The method also includes dividing a task of validating the intermediate prompt into subtasks. The method further includes performing the subtasks by the software-based agents as part of a chain of thought (CoT) process to validate the intermediate prompt and outputting suggestion(s), and generating a final prompt by refining the intermediate prompt using the suggestion(s).
A method for automatically generating prompts, the method comprising:
A system for automatically generating prompts, the system comprising:
A computer program product for automatically generating prompts, the computer program product comprising a non-transitory computer readable medium having computer readable program code stored thereon, the computer readable program code configured to:
Dependencies are inferred from the claim text.