The invention discloses a method for generating a text
system, and aims to solve the problems of long development cycle, disjunction of requirements and
technology implementation and the like of traditional
software and realize automatic generation from a
natural language requirement to a deployable
service system based on a large
language model. The method is divided into two stages: in the first stage, a
system is disassembled into a logic subsystem through man-
machine cooperation, core
business logic is extracted, a large
language model is called by adopting a divide-and-conquer strategy, and a detailed specification containing a functional process and an interface form is generated; in the second stage, a large
language model is called to generate a
database table structure and a DDL script, an
engineering framework of a basic
technology stack is initialized and integrated through a predefined
scaffold, CRUD codes are generated, the codes are analyzed to generate a transformation plan for structured data, and target logic codes are incrementally integrated. According to the method, control is achieved through Python, the problem of
large model input limitation is solved, and generated codes are standard and extensible. The development cycle is shortened, the requirement-design-code consistency is guaranteed, the threshold is lowered, platform locking is avoided, and enterprise
digital transformation is assisted.