Make the AI step predictable: 4 rules
  1. Give it one narrow job. "Classify this message as sales, support, or spam" beats "handle this message."
  2. Ask for a fixed format. Request JSON with named fields, and show one example of what you expect.
3. Validate the output before you use it. Check that required fields exist and values are in the allowed list.
4. If validation fails, retry once, then send the item to a human.
Why: free text is hard to route, and models can be wrong. The risky moment is sending unchecked output to a client's customer.
A made-up example: the model returns a category and a draft reply. The workflow checks that the category is one of three allowed values. If it isn't, nothing is sent and a person is notified.
What's your favorite way to keep AI steps in check?
12
24 comments
Ameeth B.
7
Make the AI step predictable: 4 rules
AI Automation Society
skool.com/ai-automation-society
Learn to get paid for AI solutions, regardless of your background.
Leaderboard (30-day)
Powered by