Writing a rule
Each rule is one instruction with a polarity:- Always rules describe what the agent should do. “Always greet shoppers warmly and stay on-brand.”
- Never rules describe what it must avoid. “Never promise a specific delivery date.”
What makes a good rule
Keep each rule to a single, concrete behavior. A few patterns that work well:- Guardrails. “Never give medical advice; suggest the customer consult a doctor.”
- Brand voice. “Always refer to our loyalty program as The Circle, not the rewards program.”
- Sales behavior. “Always suggest a complementary product after answering a product question.”
- Escalation. “Never handle order cancellations; direct shoppers to support@yourbrand.com.”
Rules vs. knowledge vs. skills
It’s worth keeping the three straight, because the fix for a bad answer depends on which one is missing:- The agent got a fact wrong or didn’t know it? Add knowledge.
- The agent behaved wrong, was off-brand, or promised something it shouldn’t? Add a rule.
- The agent needs to follow a multi-step process for a specific task, like size finding? Write a skill.