逐日AI微信小程序
← 返回全部课程题库

5 天提示词工程零基础

课程题库 · 15 / 15 道题

D1 提示词是什么、不是什么:模型如何读指令;角色 / 任务 / 格式 / 约束四要素

  • 提示词工程到底在工程什么?它和写需求文档、写技术方案有什么本质区别?What exactly is being engineered in prompt engineering, and how does it differ from writing a requirements doc or a design spec?
    国内高频海外高频基础#prompt-basics#mental-model

    🔒 解锁 D1 后查看答题要点。

  • 角色、任务、格式、约束四要素各解决什么问题?如果只能保留三个,你会砍掉哪个,为什么?What problem does each of the four prompt elements — role, task, format, constraints — solve? If you could keep only three, which would you drop and why?
    国内高频海外高频进阶#prompt-basics#four-elements

    🔒 解锁 D1 后查看答题要点。

  • 为什么规则要放系统提示而不是用户消息?请从遵从度、管控和成本三个角度说明,并指出系统提示做不到什么。Why do rules belong in the system prompt rather than the user message? Cover adherence, control, and cost, and name what the system prompt cannot guarantee.
    国内高频海外高频进阶#system-prompt#prompt-basics

    🔒 解锁 D1 后查看答题要点。

D2 few-shot、思维链、分步与自检;什么时候这些都不管用

  • few-shot 为什么有效?示例给多了会出什么问题?你怎么决定给几个?Why does few-shot prompting work, what goes wrong when you give too many examples, and how do you decide how many to include?
    国内高频海外高频基础#few-shot#prompt-techniques

    🔒 解锁 D2 后查看答题要点。

  • 思维链在什么任务上提升明显,在什么任务上是浪费?它和「分步」有什么区别?Where does chain-of-thought prompting help most, where is it a waste, and how does it differ from splitting a task into steps?
    国内高频海外高频进阶#chain-of-thought#prompt-techniques

    🔒 解锁 D2 后查看答题要点。

  • 提示词写得再好也做不对的任务有哪些特征?遇到这类任务你会怎么办?What are the signs of a task that no amount of prompt engineering will fix, and what do you do when you hit one?
    国内高频海外高频进阶#prompt-limits#failure-modes

    🔒 解锁 D2 后查看答题要点。

D3 结构化输出:JSON schema、模板与变量、多语言输出

  • 结构化输出为什么要用 schema 约束,而不是在提示词里写「请输出 JSON」?schema 通过之后还需要校验吗?Why should structured output be enforced with a schema instead of a 'please respond in JSON' instruction, and do you still need validation once the schema passes?
    国内高频海外高频基础#structured-output#json-schema

    🔒 解锁 D3 后查看答题要点。

  • 提示词模板里哪些内容该做成变量,哪些该写死?变量多了会有什么问题?In a prompt template, what should become a variable and what should stay constant, and what goes wrong when you have too many variables?
    国内高频海外高频进阶#prompt-template#structured-output

    🔒 解锁 D3 后查看答题要点。

  • 模型返回的 JSON 解析或校验失败时,你会怎么设计兜底?重试几次、怎么重试、失败之后怎么办?When the model's JSON fails to parse or validate, how do you design the fallback — how many retries, how do you retry, and what happens after the last failure?
    国内高频海外高频进阶#structured-output#error-handling

    🔒 解锁 D3 后查看答题要点。

D4 迭代与评估:小样本测试集、A/B、版本管理、常见反模式

  • 怎么给一个提示词建测试集?十条样本该怎么挑,标准答案从哪来?How do you build a test set for a prompt? How would you choose ten samples, and where do the expected answers come from?
    国内高频海外高频基础#evaluation#test-set

    🔒 解锁 D4 后查看答题要点。

  • 提示词版本化怎么做?它和代码版本管理有什么不同?线上出问题你先做什么?How do you version prompts? How does it differ from versioning code, and what is your first move when production misbehaves?
    国内高频海外高频进阶#prompt-versioning#evaluation

    🔒 解锁 D4 后查看答题要点。

  • 用模型给模型打分靠谱吗?什么时候可以用,什么时候必须人工看?Is using a model to grade another model's output reliable? When is it acceptable, and when must a human look?
    国内高频海外高频进阶#evaluation#llm-as-judge

    🔒 解锁 D4 后查看答题要点。

D5 跨模型迁移:Claude / GPT / 国产模型的差异、system prompt 组织;进入 Claude 课与 Codex 课

  • 同一份提示词从一家模型迁到另一家,最常坏在哪里?你怎么区分是提示词的问题还是模型能力的问题?When you move a prompt from one model vendor to another, where does it break most often, and how do you tell a prompt problem from a genuine capability gap?
    国内高频海外高频进阶#model-migration#cross-model

    🔒 解锁 D5 后查看答题要点。

  • 系统提示应该怎么组织才方便跨模型复用?怎么判断某一句该放哪一块?How should a system prompt be organized so it ports across models, and how do you decide which block a given sentence belongs to?
    国内高频海外高频进阶#system-prompt#model-migration

    🔒 解锁 D5 后查看答题要点。

  • 迁移之后怎么验证效果没有退步?如果通过率降了,你的排查顺序是什么?After migrating a prompt, how do you verify nothing regressed, and if the pass rate drops, what is your debugging order?
    国内高频海外高频深入#model-migration#evaluation

    🔒 解锁 D5 后查看答题要点。