The invention discloses an enterprise intelligent
knowledge base generation method based on a large
language model, and the method specifically comprises the steps: S1, carrying out the cleaning, word segmentation and format unification
processing of text, table and
log data of an
enterprise system, and inputting a result into an improved Mistral model; s2, setting a semantic gating unit in the model, introducing an enterprise knowledge embedding matrix, performing
dynamic screening and field alignment on context semantic features, and generating a
semantic vector with enterprise semantic features; s3, constructing a
semantic relation graph based on the
semantic vector and generating an enterprise semantic structure graph; s4, reading a target graph of a historical version or a heterogeneous
system, inputting the enterprise semantic structure graph as a source graph into the unbalanced Gromov-Wasserstein alignment model, and completing semantic fusion through non-conservation
regular constraint and semantic distance weighting; and S5, converting the fused semantic graph into standardized knowledge entries, and writing the standardized knowledge entries into an enterprise
knowledge base to realize
knowledge updating and semantic unification. According to the method, the enterprise knowledge automatic construction capability is improved, and cross-
system fusion and continuous evolution are supported.