The study aims to construct a knowledge graph for traditional Chinese medicine(TCM)gynecology based on large language models. The goal is to systematically organize and present the complex knowledge system of this field,revealing the intrinsic connections and evolution patterns among diseases,thereby enhancing the precision of clinical decision-making. The study selected 349 TCM gynecology papers from China National Knowledge Infrastructure(CNKI). ChatGLM was used with multi-round prompt templates to achieve zero-shot entity relationship extraction. Evaluation metrics were designed to objectively assess the extraction results. Efficient processing was achieved through API interfaces interacting with the model. The Neo4j graph database was used to construct and visualize the knowledge graph. The study shows that ChatGLM performs better in knowledge extraction compared to traditional Bi-LSTM-CRF models,significantly improving precision,recall and F1 scores. The constructed knowledge graph effectively supports the clinical decision-making in TCM gynecology,enhancing the diagnostic efficiency and accuracy and demonstrating the practical value.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |