Basic Usage
Common Patterns
Coding Assistant
Customer Support Bot
JSON Output
Character/Persona
Tips for Effective System Prompts
Be Specific
Be Specific
Vague prompts lead to inconsistent results. Specify exactly what you want: ❌ “Be helpful” ✅
“Provide step-by-step instructions. Use bullet points. Keep each step under 20 words.”
Use Examples
Use Examples
Show the model what you expect:
Format responses like this example: Q: What is 2+2? A: **4** — Two plus two equals four.Set Boundaries
Set Boundaries
Tell the model what NOT to do:
- Do not provide medical advice - Do not generate harmful content - If asked about topics outside your expertise, politely declineKeep It Concise
Keep It Concise
Shorter prompts use fewer tokens and leave more room for generation: ❌ Long, rambling
instructions with repetition ✅ Clear, bullet-pointed rules