The invention discloses an elderly
disease health question and answer method based on multiple agents and a
knowledge graph, and belongs to the crossing field of
artificial intelligence and
medical information technologies. Structured representation of
medical knowledge is realized by constructing a multi-
modal medical knowledge graph and through multiple entities and association relationships thereof. In combination with
a domain customized large
language model and a multi-agent dynamic routing mechanism, a two-stage training strategy is adopted to optimize a base model, including all-parameter pre-training and parameter efficient
fine tuning based on a low-rank
decomposition technology, so that the professionality and reliability of the model are effectively improved. In a multi-agent collaborative architecture, the
system dynamically selects an optimal
processing path according to input characteristics, including
knowledge graph query, professional answer generation or external
knowledge retrieval, and maintains context continuity of multiple rounds of conversations through a dynamic abstract compression
algorithm. According to the method, the multi-agent collaborative architecture is combined with the
knowledge graph reasoning ability, and the advantages of relation query and
semantic matching are integrated through the mixed retrieval strategy.