import { consultationDomainRegistry, type ConsultationTheme, } from "./consultation-domain-registry"; export type GuidedJyotishTopic = { id: ConsultationTheme; label: string; prompt: string; strictWorkflowRoute: string; evidencePreview: string[]; confidenceCap: "low" | "medium"; claimBoundary: string; }; export const defaultGuidedJyotishTopics: GuidedJyotishTopic[] = consultationDomainRegistry.map((domain) => ({ id: domain.id, label: domain.label, prompt: domain.prompt, strictWorkflowRoute: domain.strictWorkflowRoute, evidencePreview: [...domain.evidencePreview], confidenceCap: domain.confidenceCap, claimBoundary: domain.claimBoundary, })); const generalPromptByTheme: Partial> = { career: "请帮我梳理目前的事业方向和下一步重点。", marriage: "请帮我看看我在关系中容易重复什么模式。", wealth: "请帮我分析目前的财富重点、风险和更稳妥的选择。", health: "请从非医疗诊断的角度,帮我看看近期的身心压力和调整重点。", education: "请帮我看看我更适合怎样学习,以及如何安排下一步。", migration: "请帮我分析现阶段是否适合迁居、置业或考虑海外发展。", family: "请帮我看看家庭关系中最需要处理的问题和责任边界。", annual: "请帮我看看未来一年的主要趋势、机会和需要留意的阶段。", timing: "请帮我看看目前适合推进什么,哪些事情需要再等等。", general: "请结合我的情况,帮我找出现在最值得优先处理的三个问题。", }; export const generalGuidedJyotishTopics: GuidedJyotishTopic[] = defaultGuidedJyotishTopics.map((topic) => ({ ...topic, prompt: generalPromptByTheme[topic.id] ?? topic.prompt, }));