命理问答 八字 RAG 助手
命理问答是一个基于本地 RAG 语料的八字问答项目,用整理过的命理知识库提供对话式回答。
What it is / 项目是什么
A Bazi Q&A assistant built around a local RAG knowledge base, designed for conversational answers from curated astrology and Bazi material.
基于本地 RAG 语料的八字问答师傅,用整理过的命理材料回答问题,适合做命理知识查询和对话式探索。
How it works / 实现原理
后台维护一份整理过的命理语料:基础概念、十神、神煞、用神取法、流派对比等。用户提问时,先做向量检索召回相关段落,再让 LLM 在召回内容的基础上组织答案。模型被约束尽量引用语料里的说法,而不是凭训练数据自由发挥;遇到语料里没有覆盖的问题,它会承认不知道,而不是编造。
Who it is for / 适合谁
想用问答方式查询八字、命理概念和相关语料的用户。
Typical use cases / 常见使用场景
- 快速查询某个命理术语的传统解释
- 对照不同流派对同一概念的说法
- 把命理知识当作文化研究素材进行探索性对话
Key features / 主要功能
- 围绕本地命理语料进行检索增强问答
- 用对话方式解释八字和命理相关问题
- 适合做主题知识库、RAG 问答和内容检索实验
Design notes / 设计取舍
命理领域常被误用为"算命预测"。命理问答的定位是知识查询和对话式学习,不是占卜服务:它不接收八字预测吉凶,也不输出"会发生什么"的判断。这条边界写在系统提示词里,模型遇到预测类问题会建议用户去咨询线下从业者,而不是自己装作师傅。
Technology stack / 技术栈
Each layer below was chosen for what it lets the project avoid as much as what it enables. Together they shape the latency, the build pipeline, and how quickly new ideas can be tried in production.
下面这些选择,更多是为了排除某些复杂度,而不只是为了“用上”。它们共同决定了项目的延迟特性、构建流水线,以及把一个想法跑通的最短路径。
RAG
Retrieval-Augmented Generation — combines vector search with LLM prompting so answers stay grounded in source material instead of being made up.
AI
Modern large language models used for natural-language understanding, generation, and reasoning over project-specific knowledge.
Vercel
A cloud platform that hosts the project with edge delivery, automatic HTTPS, and preview deployments for every commit.
FAQ / 常见问题
命理问答会给我算命吗?
不会。它的设计是知识查询,不是占卜。问"什么是十神"会得到清晰解答,问"我今年会不会发财"会被礼貌拒绝。
答案准吗?
它的回答基于语料库里的现有材料。如果材料本身有偏差,答案也会有偏差。建议把它当成一本可对话的参考书,不是结论。
语料库是公开的吗?
不直接公开,但我们引用的概念都属于传统命理学常识。具体文献和整理过程可以另行说明。
命理是科学吗?
主流学术界不把命理学作为科学体系。但它作为文化现象长期存在,了解它的概念结构对理解东亚思想传统是有价值的。命理问答的态度是文化研究式的,不为它的预测能力背书。
More projects from jiligulu
If this project struck a chord, the same hands are behind these. Each one was built to answer a different question — and each one borrows lessons from the rest.
话影
An AI character chat project that turns chat records you have the right to use into a testable role, with tone, relationship context, and shared memories.
Read moreCreative image tool拼豆像素图生成器
A pixel-bead pattern generator for turning source images into bead-friendly pixel art references and craft layouts.
Read morePersonal web appMandy 专属治愈站
A personal healing station with 450+ curated quotes, song lyrics, daily challenges, mood tracking, and anniversary counter. Built with love.
Read moreContinue reading
The blog goes deeper into the ideas behind 命理问答. These pieces unpack the psychology, the engineering trade-offs, and the design questions this project raises.
- 11 min read
拖延不是懒,是情绪调节问题 / Procrastination Isn't Laziness, It's Emotion Regulation
你拖延某件事的真正原因,几乎从来不是"我懒",而是"做这件事会让我感觉不好"。Pychyl 和 Sirois 这两位拖延心理学家的研究把这事讲得很硬,也带来一组完全不一样的应对方法。/ The real reason you procrastinate on something almost never reduces to "I'm lazy." It's "doing this would make me feel bad." Tim Pychyl and Fuschia Sirois have spent decades demonstrating this — and the implications change what a useful response looks like.
- 10 min read
独处不等于孤独 / Solitude Is Not the Same as Loneliness
中文里"独处"和"孤独"经常被混着用,神经科学和心理学却把它们当成两件几乎相反的事——前者是恢复,后者是消耗。这篇讲一下两者的差别、独处的具体好处,以及为什么现代生活把独处变得越来越难。/ Chinese readers often blur "solitude" and "loneliness"; neuroscience and psychology treat them as nearly opposite phenomena — one restores, the other drains. This piece spells out the difference, what solitude actually does, and why modern life makes it so hard to access.
- 9 min read
你在 GitHub、LinkedIn、Twitter 上是同一个人吗?/ Are You the Same Person on GitHub, LinkedIn, and Twitter?
程序员、设计师、做产品的人——基本上每个互联网工作者,都在三五个平台上有不同程度割裂的"自己"。这种割裂是策略上的成熟,还是身份层面的代价?/ Engineers, designers, product folks — basically everyone who works online maintains some level of fractured self across three or five platforms. Is that fracture strategic maturity, or an identity-level cost?