AI Help
How do I check whether examples in my prompt are biasing the answer?
Change or remove examples while holding the task constant and check whether irrelevant example details change the answer.
Steps to follow
- Create balanced test inputs with reviewed expected outputs and identify properties that should not affect the result.
- Compare prompts with no examples, balanced examples and reordered examples. Keep model and tools comparable.
- Inspect changes in labels, phrasing and unsupported assumptions. Revise examples that overrepresent one answer or pattern.
Example in practice
Illustrative example. A classifier trained by examples containing only urgent complaints may overuse urgent on neutral requests, which a balanced test reveals.
Related AI help
- How do I test prompts with long inputs before using them in production?
- How do I version prompts so I can trace which one produced an output?