Taking a ten-year treatment diary of frozen shoulder written by the third author as the data source, this paper uses a large language model(LLM) to perform information extraction and construct a frozen shoulder knowledge graph. Each extracted record takes a fixed four-field form (thing, disease, effect, record), in which 'thing' denotes drugs, foods, behaviors and other factors acting on the disease, 'disease' is confined to frozen shoulder and triceps brachii soreness, and 'effect' is confined to effective, ineffective and aggravating; each record quotes the corresponding original sentence verbatim so that it can be traced back manually. The 4232-character diary is split at paragraph boundaries into 6 chunks, each of which is sent to the cloud-based Doubao LLM to output a JSON array; the whole extraction takes 43 s and yields 127 records. The records are then written into the Neo4j graph database with MERGE statements, forming a knowledge graph of 103 nodes and 127 relationships. The results show that a colloquial treatment diary can be converted, through information extraction with a general-purpose LLM, into a visualizable and queryable knowledge graph.
首页
>
AI前沿
>
From Treatment Diary of Frozen Shoulder to Knowledge Graph: LLM-Based Information Extraction