Prompting techniques · Question 47 of 60
A few-shot prompt contains three example test cases, all with valid inputs. The model returns almost only positive tests. What is the most obvious improvement?
1 answer is correct. Hard Created with AI
Show answer
Answer
- A Also include examples with invalid inputs
Explanation
Few-shot examples strongly shape the model's behaviour: it follows the pattern shown. If you want negative tests, show them in the examples or ask for them explicitly.