Files
raccoon/TIPS.md
2023-03-04 00:22:31 +01:00

1.1 KiB

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