CCAR-F practice › Prompt Engineering & Structured Output · Question 71 of 105

Prompt Engineering & Structured Output

A review prompt contains a detailed paragraph specifying that every finding must include location, issue, severity, and suggested fix. Output still varies: some findings are prose paragraphs, some are bullets, and some omit the fix. What is the most effective next step?

Show answer and explanation

Answer: C — Add a few examples, each showing one finding in the exact four-field format

When detailed instructions alone produce inconsistent output, few-shot examples demonstrating the exact format are the most effective technique. Repeating (a) or emphasizing (b) the same instruction rarely changes the result, and max_tokens (d) isn't the cause when findings are short and still missing fields.