📥 Content Hub
← назад
patents ⚡ Google Patents en 2026-09-04 1 min

Code generation method and device based on large model

Патент · CN B

CN-120929061-B
приоритет 2025-07-25 подача 2025-07-25 публикация 2026-09-04 выдача 2026-09-04 семья 97597477
patents-ai
北京神州泰岳软件股份有限公司

The application provides a code generation method and device based on a large model, the method comprises the steps of receiving code generation requirements of a user for a target item through one or more rounds of dialogue, inputting the code generation requirements and initial prompt words into the code generation large model to enable the code generation large model to generate initial codes and description information based on the code generation requirements and the initial prompt words, generating optimized prompt words based on the initial codes and code library files, wherein the code library files are files in a preset code library appointed by the user, inputting the optimized prompt words, the initial codes, the description information and the code library files into the code generation large model through one or more rounds, and enabling the code generation large model to replace classes and functions in the initial codes into classes and functions in the code library files based on the optimized prompt words to obtain the target item code. The method can multiplex the preset code library, take over the interaction with the large model and the like, and does not need manual intervention.

Читать оригинал ↗

Сделать контент из этого материала