BaZi · Blog
AI Liu Yao: Dynamic Hexagram Analysis Based on Casting
Deep Oracle Practitioner Desk · 2026-09-19 · 5 min read
AI六爻 refers to the practice of using a language model to produce the six lines of a hexagram for divination. This entry explains why the input and procedure differ fundamentally from those used in BaZi, what a hexagram generated by a model actually is, and what the site does and does not offer.
六爻与八字的输入完全不同
BaZi and 六爻 belong to different branches of Chinese metaphysics and begin from different kinds of input. In BaZi, the input is birth data. Once the year, month, day, and hour of birth are supplied, the four pillars are derived by fixed calendrical rules. The same birth data always leads to the same set of 干支 characters. The process is reproducible: another person using the same birth information and the same reference tables should arrive at the same result.
六爻 does not work this way. The input is not birth data. A hexagram is not derived from the date and time a person was born. Instead, 六爻 requires a divination act performed at the moment of asking. The hexagram comes from that act, not from the questioner’s biographical details. This means the information needed to construct a 六爻 reading is of a different type from the information needed to construct a BaZi chart. One is a fixed record; the other is an event.
起卦需要一次现场的随机动作
The act of casting a hexagram depends on a random process. In traditional practice, this often means tossing three coins, sorting yarrow stalks, or having the querent report numbers that arise in the moment. The six lines are read from the result of that action. The crucial point is that the hexagram is the outcome of a concrete event occurring in real time.
Because the procedure is random, the same question asked twice on the same day does not necessarily produce the same hexagram. That is not an error in the method; it is part of how the method is understood. The hexagram is tied to the occasion of asking and to the act performed then. It cannot be reconstructed later from a birth chart or from the wording of the question alone.
模型「摇」出来的卦是什么
A language model does not toss coins. It does not sort stalks. It has no access to a physical random event in the room where the querent is sitting. When a model is asked to cast a hexagram, it produces six lines as generated text. Those lines may look like a hexagram and may be formatted correctly, but the process that produced them is not the same as the traditional process.
Generated text is the result of a model predicting a plausible continuation based on training data. It is not the recorded outcome of a random divination act. The six lines written by a model are therefore not equivalent to a hexagram obtained by tossing coins. They are an imitation of the form, not the result of the procedure.
This distinction matters because the procedure is not decorative. In 六爻, the hexagram is taken to be the trace of an event. If no such event occurred, there is no trace to interpret. A model can compose lines, but it cannot supply the event that those lines are supposed to record.
本站不提供在线起卦
For that reason, this site does not provide online hexagram casting. It does not generate hexagrams for visitors, and it does not perform divination on anyone’s behalf. The site’s 易经-related content is limited to explaining hexagram names and line texts. That is an interpretive service, not a casting service.
This is a deliberate boundary. A hexagram produced by a machine lacks the procedural basis that 六爻 requires. Offering such a hexagram as if it were a real casting would confuse a generated text with the result of a divination act. The site therefore does not take that step.
The same boundary applies to personal questions. The site does not accept a question and return a hexagram as an answer. It does not claim to stand in for the querent’s own act of casting. The role of the site is to explain what the classical texts say when a hexagram has already been obtained.
想用六爻的读者该怎么做
A reader who wants to use 六爻 should perform the casting step personally. The random act — whether tossing coins, sorting stalks, or another traditional method — is not something a text tool can supply. The querent needs to be present to that act. The hexagram is the result of that act, and the reader then brings it to the interpretive material.
After the hexagram exists, a language model or reference text can be used to look up the hexagram name and the associated line texts. That is a legitimate use of a text tool. Explaining what a line means, what a hexagram is called, or how a changing line is traditionally read falls within the range of textual interpretation.
The dividing line is therefore simple. The step that produces the hexagram cannot be delegated to a model. The step that explains the hexagram can be. The same principle applies on the BaZi side: a model may explain the meaning of a chart, but the chart itself should be produced by correct reference to the birth data and the relevant tables.
In both systems, interpretation can be assisted by text tools. Production of the underlying object — the hexagram in one case, the chart in the other — cannot. For 六爻, that is not because a model is careless or poorly trained. It is because the act of casting is inherently non-textual. No amount of fluent writing can stand in for the toss of a coin.