The invention provides an
enterprise application component building method and
system based on a large
language model, and the method comprises the steps: S1, obtaining a user component demand, carrying out the analysis, generating a structured demand document, and determining whether to enter a step S2 or not according to a user demand confirmation result; s2, generating a
core function module of a component through a component generation engine based on the structured demand document confirmed by the user; s3, matching a corresponding interface template from a preset universal interface
library according to an
adaptive system list in the structured demand document, and generating an interface adaptive code; and S4, deploying the
core function module and the interface
adaptation code to a preview environment for a user to preview, and selecting to automatically
package and generate a component installation
package or re-executing the steps S1, S2 or S3 according to a user preview confirmation result. According to the method, a full-link
automation mechanism of'
natural language demand-component generation-interface
adaptation 'is constructed, so that the component building threshold is reduced, and rapid
adaptation of the component and the existing
system is realized.