A professional Bazi (Four Pillars of Destiny) calculation and analysis tool based on Node.js and specialized SDK.
This tool automatically performs AI interpretation by default.
You do NOT need to add --interpret flag anymore, unless you want to force it.
If the user wants raw data only, use --no-interpret.
The tool contains a specialized DeepSeek prompt that follows 《子平真诠》; you should prefer this over your own interpretation.
IMPORTANT: OUTPUT FORMAT
Use this for almost all requests:
node {baseDir}/index.js --year 1990 --month 5 --day 15 --hour 14 --gender Male
Get a detailed analysis of the lifetime fate pattern, excluding decade luck cycles (Da Yun).
node {baseDir}/index.js --year 1990 --month 5 --day 15 --hour 14 --gender Male --no-dayun
Use this ONLY if user explicitly asks for "calculation only" or "no interpretation":
node {baseDir}/index.js --year 1990 --month 5 --day 15 --hour 14 --gender Male --no-interpret
--year: Birth year (e.g., 1990)--month: Birth month (1-12)--day: Birth day (1-31)--hour: Birth hour (0-23)--minute: Birth minute (0-59, default: 0)--gender: Gender ('Male' or 'Female', default: 'Male')--interpret: Force enable AI interpretation (default: true if API key configured)--no-interpret: Disable AI interpretation (for raw data output)node {baseDir}/index.js --year 1990 --month 5 --day 15 --hour 14 --gender Malenode {baseDir}/index.js --year 1990 --month 5 --day 15 --hour 14 --gender Male --interpretnode {baseDir}/index.js --year 1988 --month 8 --day 8 --hour 8 --gender Female --interpretPrimary Configuration (DeepSeek):
DEEPSEEK_API_KEY: Required for AI interpretation.DEEPSEEK_BASE_URL: Optional, defaults to https://api.deepseek.com.DEEPSEEK_MODEL: Optional, defaults to deepseek-chat.Fallback Configuration (OpenAI):
OPENAI_API_KEY: Used if DeepSeek key is missing.OPENAI_BASE_URL: Optional, defaults to https://api.openai.com/v1.Returns a structured report including:
共 1 个版本