The invention discloses a dynamic document template generation
system and method based on
large model workflow, and relates to the field of
artificial intelligence technology,
natural language processing and document automatic generation. Comprising the steps of 1, performing
demand analysis on document demand description input by a user by adopting a pre-training
language model and extracting document types, structural elements and business rules, 2, constructing a template structure according to an analysis result, distinguishing fixed contents and variable fields, defining
conditional logic and synchronously displaying a template effect, and 3, constructing a template structure according to the analysis result. The method comprises the steps of receiving a user adjustment instruction and carrying out template optimization, 3, automatically matching variable fields with business
database data, establishing dynamic association and automatically filling field contents according to the association relationship, 4, carrying out compliance detection on generated template contents and formats, prompting potential problems and enabling a user to carry out correction according to prompts. 5, according to the template confirmed by the user, the template scheme is converted into a construction instruction, and a standard format document is output; and 6, operation behaviors of the user are recorded, optimization features are extracted, the
template library is updated, logic is generated, and continuous evolution of the template is achieved.