How do you write effective instructions in a system prompt?
Prompt Engineering Patterns: System Prompts, Role Assignment, and Persona Patterns for LLMs
Audio flashcard · 0:19Nortren·
How do you write effective instructions in a system prompt?
0:19
Effective instructions are specific, positive, and unambiguous. Tell the model what to do rather than what not to do. Use concrete examples instead of abstract guidelines when possible. Order instructions by importance, with the most critical rules first. Test instructions against edge cases that might trip up the model, not just typical inputs.
---
docs.anthropic.com