Construction of an intelligent question‑answering system for depression combining traditional Chinese medicine and Western medicine based on large language models and knowledge graphs
|更新时间:2025-06-27
|
Construction of an intelligent question‑answering system for depression combining traditional Chinese medicine and Western medicine based on large language models and knowledge graphs
Shanghai Journal of Traditional Chinese MedicineVol. 59, Issue 7, Pages: 1-10(2025)
TAN Ping,LIU Huina,WEI Changfa.Construction of an intelligent question‑answering system for depression combining traditional Chinese medicine and Western medicine based on large language models and knowledge graphs[J].Shanghai Journal of Traditional Chinese Medicine,2025,59(7):1-10.
TAN Ping,LIU Huina,WEI Changfa.Construction of an intelligent question‑answering system for depression combining traditional Chinese medicine and Western medicine based on large language models and knowledge graphs[J].Shanghai Journal of Traditional Chinese Medicine,2025,59(7):1-10. DOI: 10.16305/j.1007-1334.2025.z20240925004.
Construction of an intelligent question‑answering system for depression combining traditional Chinese medicine and Western medicine based on large language models and knowledge graphs
To construct an intelligent question-answering system that integrates large language models and knowledge graphs for depression treatment combining traditional Chinese medicine and Western medicine. The question-answering system aims to provide efficient and accurate diagnostic and therapeutic support for both patients and healthcare professionals through precise question processing, efficient knowledge retrieval, and professional answer generation, thereby promoting the intelligent development of depression diagnosis and treatment.
Methods
2
Based on the
Guidelines for Integrating Traditional Chinese and Western Medicine in the Diagnosis and Treatment of Depression
, a depression knowledge graph centered on "disease-syndrome-symptom-treatment-method-prescription-medicine" was constructed using the py2neo library and the Neo4j graph database. Natural language questions were converted into structured queries through template matching technology, and professional answers were generated by combining Cypher queries and a large language model (ChatGLM4).
Results
2
The constructed depression knowledge graph included 303 entity nodes and 436 entity relationships, and its schema layer contained 19 types of entities and 14 types of relationships. Therefore, the system successfully visualized the data, enabling clinical doctors to visually view and retrieve diagnostic and treatment data. It accurately processed depression-related questions, providing efficient and precise answers.
Conclusions
2
The system demonstrates significant application potential in the diagnosis and treatment of depression. It can assist clinical doctors in disease diagnosis, treatment, and clinical decision-making, facilitating knowledge sharing and dissemination, as well as standardization of diagnostic and treatment process. The approach used to construct the knowledge graph and intelligent question-answering system can serve as a reference for the intelligent diagnosis and treatment of other diseases.
Research on entity and relation extraction from traditional Chinese medicine knowledge graphs based on GPTs
Exploring feasibility of artificial intelligence in diagnosing depressive disorder based on traditional Chinese medicine principle of "governing exterior to infer interior"
Astrocytes and depression: Advances in research on acupuncture intervention
A method for generating dietary recommendations following "food and medicine homology" principle of traditional Chinese medicine using retrieval‑augmented large language models
Prediction models for cardiovascular diseases in elderly diabetic patients based on artificial intelligence algorithms and traditional Chinese medicine constitution types
Related Author
HE Yuhao
LI Ming
LUO Xiaolan
LIU Lili
YANG Qi
ZHU Bangxian
LYU Yuhan
LI Hongpei
Related Institution
Pepperdine University, Malibu
Shanghai University of Traditional Chinese Medicine
Department of Encephalopathy, Dongfang Hospital, Beijing University of Chinese Medicine
Department of Clinical Psychology, Beijing University of Chinese Medicine Shenzhen Hospital (Longgang)
Fifth Clinical Medical College, Beijing University of Chinese Medicine (Shenzhen Hospital)