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 6 of 6

On the exam

Study tips: for each prompt problem, ask where the fix belongs. A rule that must hold regardless of what the user types points to the system prompt. A format that keeps going wrong despite a clear description points to examples. A pasted document that blurs into the instructions points to separators. A model that invents missing facts points to giving it an exit token. Remember that prompts and examples never change the model itself, and that testing in the playground comes before the wording goes into an app.

CertBrain is an independent study tool. It is not affiliated with, endorsed by, or sponsored by Amazon Web Services, Inc. or Microsoft. Learn more

Quiz me on this
What should a system prompt settle?
Save
Few-shot prompting in a chat request
Save
Why add separators around pasted material?
Save
Give the model an exit
Save
How to iterate on a prompt
Save