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 3 of 5

Output indicators

An output indicator describes the shape of the answer: its length, format or structure. "In one phrase", "as a bulleted list", "return only the year" and "wrap each name in name tags" are all output indicators. Without one, a model often returns a free-form answer that's longer or looser than you need, which is a problem when another program has to read the result. AWS's examples show that adding an output indicator alone can turn a rambling summary into the short phrase the user wanted.