Skip to content

Latest commit

 

History

History
59 lines (53 loc) · 1.1 KB

TIPS.md

File metadata and controls

59 lines (53 loc) · 1.1 KB

Avoid

  • Putting the parameter at the end of the prompt
Good Bad
Predict the capital of the country:
Country: {country}
        
{country}. Predict the capital of the country:
        

Try to

  • Make your prompt multi-shot (i.e. provide examples of what you expect the answer to be given some input)
Good Bad
Country: Czechia
Capital: Prague
---
Country: France
Capital: Paris
---
Predict the capital of the country:
Country: {country}
        
Predict the capital of the country:
Country: {country}
        

Vulnerability Indicators

  • Has parameter at the end of the prompt
  • Has no examples of what the answer should be given some input
  • Does not provider enough context