Prompting techniques · Question 43 of 60
A prompt reads: "Example: postcode '1234' gives 'invalid, only four digits'. Now assess: '9A123'." Which technique is this?
1 answer is correct. Hard Created with AI
Show answer
Answer
- A One-shot prompting
Explanation
The prompt contains exactly one example of input and expected result, followed by the new input. That is one-shot; with two or more examples it would be few-shot.