CertBrain
Sign in
← Back to decks
Sign in to save your progress.Sign in

Writing System and User Prompts

A model can only follow the instructions it is given, so the wording of your prompts decides how useful its replies are. This lesson covers writing system and user prompts, adding examples, and testing your wording before an app depends on it.

10 cards

Writing System and User Prompts

In this lesson · 6 sections
Step 4 of 6

Choosing where a fix belongs

This table is the lesson's own rule of thumb, not a Microsoft table.

SymptomBest place for the change
A rule should hold in every conversation, whatever users typeSystem prompt
This one request needs a different task or a particular source textUser prompt
The format or labels keep being misapplied even though they are describedFew-shot examples
Replies are too random or too rigid from run to runA parameter such as temperature, if the model accepts it

A rule that must always apply belongs where the user cannot forget it, which is the system prompt. Material that matters for one request belongs in that request. Examples help when description alone fails. A parameter changes how the model samples its words; it cannot teach a rule or a format, and some models do not accept every sampling setting, as the Area 1 lesson on deployment options explains. In practice the changes combine, with a system rule backed by examples and a tested parameter, but changing them one at a time shows which layer actually did the work.