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

Anatomy of a Prompt

A prompt is the input you send a foundation model to get a response, and most prompts are built from a small set of parts: an instruction, context, input data, a description of the output you want and, for image models, a negative prompt. This lesson takes a prompt apart, so you can tell which…

9 cards

Anatomy of a Prompt

In this lesson · 5 sections
Step 5 of 5

On the exam

Expect a symptom and a choice of fixes. If the answer's content is right but its format is wrong, add an output indicator. If the model misreads what the text is, add context. If the model does the wrong task, sharpen the instruction. If an image keeps including something unwanted, use a negative prompt rather than writing "no ..." in the main prompt. And don't jump to fine-tuning when a clearer prompt would fix the problem.

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
Instruction (prompt component)
Save
Context (prompt component)
Save
Input data (prompt component)
Save
Output indicator
Save
Negative prompt
Save