🛠️System Prompt
Also known as System Message, System Instructions
Rules set before the chat starts. They shape each answer the model gives.
Think of it like
Think of it like the rules a coach gives a team before the game. They hold for the whole game.
Example
Lucy's bike shop bot has a short system prompt with four rules. Every customer chat starts with it, though no customer ever sees it.
Why it matters
Definition
Example code
text
You help customers of a bike shop.
Answer in two or three short sentences.
If you do not know, say so and give the shop's phone number.
Never promise a refund.Common mistake
Key takeaways
- 1Set before the chat. Holds for every turn.
- 2Hidden from users. Usually not shown.
- 3Not a lock. Keep secrets out.