Using a large language model for code generation for network analytics with coding hints
AssigneeCisco Technology, Inc.
InventorsPierre-André Savalle, Grégory MERMOUD, Jean-Philippe VASSEUR
Life of this patent
Estimating the term…
Abstract
In one implementation, a device pauses generation of computer code by a language model. The device matches a block of the computer code to a hint regarding a portion of the block of computer code. The device inserts the hint into the computer code. The device resumes generation of the computer code by the language model, wherein the language model uses the hint to generate a new portion of the computer code.
Claims20
A method comprising:
- pausing, by a device, generation of computer code by a language model;
- matching, by the device, a block of the computer code to a hint regarding a portion of the block of computer code;
- inserting, by the device, the hint into the computer code;
- and
- resuming, by the device, generation of the computer code by the language model, wherein the language model uses the hint to generate a new portion of the computer code.
An apparatus, comprising:
- one or more network interfaces;
- a processor coupled to the one or more network interfaces and configured to execute one or more processes;
- and
- a memory configured to store a process that is executable by the processor, the process when executed configured to:
- pause generation of computer code by a language model;
- match a block of the computer code to a hint regarding a portion of the block of computer code;
- insert the hint into the computer code;
- and
- resume generation of the computer code by the language model, wherein the language model uses the hint to generate a new portion of the computer code.
A tangible, non-transitory, computer-readable medium storing program instructions that cause a device to execute a process comprising:
- pausing, by the device, generation of computer code by a language model;
- matching, by the device, a block of the computer code to a hint regarding a portion of the block of computer code;
- inserting, by the device, the hint into the computer code;
- and
- resuming, by the device, generation of the computer code by the language model, wherein the language model uses the hint to generate a new portion of the computer code.
Dependencies are inferred from the claim text.