Agentic code generation with validation
Патент · US A1
Полный текст
Responsive to digital input received in a natural language, examples formulate an instruction for a generative machine learning model (GMLM), where the instruction includes an input validation sub-instruction and a code generation sub-instruction. Via processing of the digital input and the code generation sub-instruction by the GMLM, examples generate and output, by the GMLM, code in a programming language, where the code in the programming language corresponds to the digital input received in the natural language. Via processing of the input validation sub-instruction and the code by the GMLM, examples detect an unvalidated portion of the digital input. Examples may exclude the unvalidated portion of the digital input from an execution of the code generated by the GMLM.