Hypergraph is more powerful. Transform unstructured text into structured knowledge with LLMs. Graphs, hypergraphs, and spatio-temporal extractions — with one command.
Formula Modification Logic Sample
Guizhi Tang (Cinnamon Twig Decoction) Modifications
Original Formula
Guizhi Tang: Cinnamon twig three liang (removed bark), peony three liang, licorica two liang (honey-fried), fresh ginger three liang (sliced), jujube twelve pieces (broken).
Modification 1: Accompanying Neck and Back Stiffness
If the disease is accompanied by neck and back stiffness, add Pueraria four liang.
Modification 2: Accompanying Asthma
If the disease is accompanied by asthma, add Magnolia bark two liang, apricot kernel fifty pieces.
Modification 3: Accompanying Abdominal Fullness and Pain
If the disease is accompanied by abdominal fullness and pain, remove peony, add Aconite one piece.
Modification 4: Accompanying Yang Deficiency with Sweating
If the disease is accompanied by yang deficiency with sweating, remove peony, add Aconite one piece.
Mahuang Tang (Ephedra Decoction) Modifications
Original Formula
Mahuang Tang: Ephedra three liang (removed nodes), cinnamon twig two liang (removed bark), licorica one liang (honey-fried), apricot kernel seventy pieces (removed skin and tip).
Modification 1: Accompanying Internal Heat
If the disease is accompanied by internal heat, remove cinnamon twig, add Gypsum half jin.
Modification 2: Accompanying Dampness
If the disease is accompanied by dampness, add Atractylodes two liang.
Xiaochaihu Tang (Minor Bupleurum Decoction) Modifications
Original Formula
Xiaochaihu Tang: Bupleurum half jin, scutellaria three liang, ginseng three liang, licorica three liang (honey-fried), fresh ginger three liang (sliced), jujube twelve pieces (broken), pinellia half sheng (washed).
Modification 1: Chest Restlessness without Vomiting
If the disease is accompanied by chest restlessness without vomiting, remove Pinellia and Ginseng, add Trichosanthes fruit one piece.
Modification 2: Accompanying Thirst
If the disease is accompanied by thirst, remove Pinellia, add Ginseng to total four and a half liang, add Trichosanthes root four liang.
Modification 3: Accompanying Abdominal Pain
If the disease is accompanied by abdominal pain, remove Scutellaria, add Peony three liang.
Modification 4: Accompanying Hypochondriac Hardness and Stuffiness
If the disease is accompanied by hypochondriac hardness and stuffiness, remove Jujube, add Ostrea four liang.
Modification 5: Accompanying Palpitations below the Heart
If the disease is accompanied by palpitations below the heart, remove Scutellaria, add Poria four liang.
Modification 6: No Thirst with Mild External Heat
If the disease is accompanied by no thirst with mild external heat, remove Ginseng, add Cinnamon twig three liang, cover to induce slight sweating and cure.
Modification 7: Accompanying Cough
If the disease is accompanied by cough, remove Ginseng, Jujube, and Fresh ginger, add Schisandra half sheng, dried ginger two liang.