↓ 跳过正文

用元提示词(Meta-Prompt)自动优化你的 AI 提示词

·720 字·2 分钟·
Rafael Yu
作者
Rafael Yu
软件开发者 & AI 爱好者
目录

四步元提示词模板
#

你可以直接复制下面这段链式元提示词,让大模型帮你把粗糙的想法打磨成结构清晰、细节完整的高质量提示词:

Analyze the following prompt idea: [insert prompt idea]~Rewrite the prompt for clarity and effectiveness~Identify potential improvements or additions~Refine the prompt based on identified improvements~Present the final optimized prompt

实战案例演示
#

输入(Input)
#

将一段关于「为 30 岁职场人士制定长期投资策略」的原始提示词填入方括号中:

Analyze the following prompt idea: [You are an experienced financial analyst and investment advisor. Please develop a long-term investment strategy for a 30-year-old professional. This individual has an annual income of $100,000, with $50,000 available for immediate investment, and plans to invest an additional $1,000 monthly. They have a moderate risk tolerance and aim to prepare for retirement in 25-30 years. Provide specific asset allocation recommendations, including stocks, bonds, ETFs, and other potential investment vehicles. Explain the rationale behind your recommendations and discuss the potential risks and returns of this strategy.]

模型四步优化输出(Output)
#

第一步:结构化改写,提升清晰度
#

把大段文字拆分为清晰的人物画像要点:

  • 年收入:$100,000
  • 当前可用投资本金:$50,000
  • 每月定投金额:$1,000
  • 风险承受能力:中等(Moderate)
  • 投资周期:25–30 年(退休规划)

并明确要求给出股票、债券、ETF 等具体资产配置建议,以及背后的理由、潜在风险与预期回报。

第二步:识别遗漏的关键维度
#

模型主动补充了 5 个专业理财规划中容易忽略的要点:

  • 税务优化:如何利用 IRA、401(k) 等税收优惠账户;
  • 同类资产内部分散:各类资产内部如何进一步分散风险;
  • 再平衡策略:何时以及如何对投资组合进行再平衡;
  • 抗通胀保护:如何抵御长期通货膨胀的侵蚀;
  • 应急预案:应对突发资金需求或市场大幅回撤的方案。

第三步:整合改进点,迭代提示词
#

将上述 5 个维度正式纳入要求清单,与资产配置并列形成六大模块。

第四步:输出最终优化版提示词
#

最终生成的提示词角色明确、约束清晰、维度完整,直接发给 AI 即可获得远超原始提示词的专业深度回答。

相关提示词指南
#