What is Prompt Engineering?
Prompt Engineering is the practice of optimizing a prompt to get the best response from a language model.
Tips
Reference: Behind the prompt: Prompting tips for Claude.ai
- Describe your task
- Use XML tags to mark different parts of your prompt
<text> </text><example> </example>
- Give examples
- Make use of the long context
- Upload files to project
- Let Claude think
- Use thinking tags
- “When you reply, first plan how you should answer within
<thinking> </thinking>XML tags.”
- “When you reply, first plan how you should answer within
- Use thinking tags