Dayward AIWeChat Mini Program
Prompt Engineering From Scratch in 5 Days
Week 1 · D1🔒 LockedAbout 3 hours

What a Prompt Is, and Isn't: How the Model Reads Instructions; the Four Elements of Role / Task / Format / Constraints

First get clear on how the model actually reads what you write, then use four elements — role, task, format, constraints — to turn a fuzzy requirement into a work ticket the model can execute reliably.

Today's goals 0/3

Sign in to tick these off and save your progress.

First get clear on how the model actually reads what you write, then use four elements — role, task, format, constraints — to turn a fuzzy requirement into a work ticket the model can execute reliably.

Sign in and link WeChat to read

Sign in, then link your WeChat mini program account on the account page. Linked accounts share one free article per day. Unlock additional articles with rewarded videos in the mini program.

Mini program QR code

Scan in WeChat to open Dayward AI. Open the same course and chapter, choose the rewarded video, then refresh this page after completion.

Interview questions

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

    🔒 Unlock this chapter to see the answer keys.

  • 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?角色、任务、格式、约束四要素各解决什么问题?如果只能保留三个,你会砍掉哪个,为什么?
    Common in ChinaCommon overseasIntermediate#prompt-basics#four-elements

    🔒 Unlock this chapter to see the answer keys.

  • 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.为什么规则要放系统提示而不是用户消息?请从遵从度、管控和成本三个角度说明,并指出系统提示做不到什么。
    Common in ChinaCommon overseasIntermediate#system-prompt#prompt-basics

    🔒 Unlock this chapter to see the answer keys.

Comments