第 1 周 · D1🔒 锁定约 3 小时
提示词进阶与 Claude 的「性格」:system prompt、XML 标签、让模型先思考、结构化输出
不重讲提示词基础,只讲 Claude 特有的四个习惯:用 system prompt 定角色、用 XML 标签组织长输入、让模型先思考再回答、要求结构化输出。
不重讲提示词基础,只讲 Claude 特有的四个习惯:用 system prompt 定角色、用 XML 标签组织长输入、让模型先思考再回答、要求结构化输出。
面试题库
system prompt 应该放什么、不该放什么?如果一条规则模型总是不遵守,你会先检查什么?What belongs in a system prompt and what doesn't? If the model keeps ignoring one rule, what do you check first?
国内高频海外高频基础#system-prompt#prompt-design🔒 解锁本章后查看答题要点。
为什么用 XML 标签组织长提示词对 Claude 特别有效?和用 Markdown 分段比有什么区别?Why does organizing long prompts with XML tags work so well for Claude, and how does it differ from using Markdown sections?
国内高频海外高频进阶#xml-tags#long-context🔒 解锁本章后查看答题要点。
什么时候该让模型先写分析再回答,什么时候直接要结构化输出?两者能同时要吗?When should you have the model write its analysis before answering, and when should you go straight to structured output? Can you have both?
国内高频海外高频进阶#structured-output#reasoning🔒 解锁本章后查看答题要点。
