Abstract & Overview
Objective: To promote the dissemination of clinical practice guidelines for coronary heart disease (CHD) in Traditional Chinese Medicine (TCM) and break through the limitations of traditional question-answering systems, this study integrates Large Language Model (LLM) and Knowledge Graph (KG) technologies to construct an intelligent diagnosis and treatment question-answering system. Methods: First, TCM/integrated TCM-Western medicine guidelines for CHD published in the past decade were retrieved. LLMs were guided by prompts to extract entities and relationships, and the py2neo library was used to call Neo4j for KG construction. Second, four types of models including BERT were compared to determine the optimal model for question intent recognition. Clinical diagnosis and treatment questions were classified based on the PICO principle, and Cypher query templates were constructed. Finally, queries and LLMs were integrated to generate natural language answers, and the system was developed based on the Flask framework. Results: A total of 8 guidelines/consensuses were included, and a KG containing 452 nodes and 690 relationships was constructed. The BERT+CNN model was identified as the optimal intent recognition model, and natural language question-answering for 14 categories of diagnosis and treatment questions was realized. Conclusion: This system provides a new method for the intelligent dissemination of TCM clinical guidelines, and improves the visualization of diagnosis and treatment logic as well as knowledge consistency.