The invention provides a multi-model fusion vertical class
domain knowledge question-answering method and
system, and belongs to the field of
artificial intelligence natural language processing. According to the scheme, a traditional single
large model is disassembled into a plurality of specialized models for
cooperative work; firstly, an enhanced small parameter model trained for the
vertical field is used for performing
document analysis, and
fixed position information is extracted in combination with rules in an auxiliary manner; then performing intention understanding by using a general
language model with relatively low parameters, assisted by a cue word strategy, a rule model or a
knowledge graph; then, based on the analyzed document information and the understood user intention,
knowledge retrieval and answer generation are carried out through a model with large parameters; and finally, carrying out style optimization by adopting a special small parameter model, and generating an answer conforming to the characteristics of the vertical class field. An answer
backflow mechanism is further designed, and
continuous optimization of the
system is achieved. According to the scheme, the
resource consumption is greatly reduced, the accuracy and efficiency of the knowledge
questions and answers in the vertical class domain are improved, and the'illusion 'problem existing in the prior art is solved.