Name Both Sides
Part of the AI Decisions section of Coddy's AI Prompts journey. Lesson 7 of 22.
Many decisions have just two answers: spam or not, allowed or not. Decision APIs have a shortcut for it, the yes or no question (type noul), which returns one number: the probability of yes.
Small models are shaky with bare yes or no, especially outside English. A steadier way is a choice with both sides described. A review site asks Does this review talk about money? with price: mentions the price, the cost or value for money and no_price: says nothing about money. For Lovely blanket, soft and warm, and much cheaper than in other shops.:
no_price ░░░░░░░░░░░░░░░░░░░░ 0%
price ████████████████████ 100%And for Lovely blanket, soft and warm, it arrived in two days.:
no_price ████████████████████ 100%
price ░░░░░░░░░░░░░░░░░░░░ 0%Describe what each side looks like in the text. Then the AI compares two real pictures instead of guessing what you meant.
Challenge
EasyA shop's inbox fills with scams. The filter blocks anything that contains a link or a price, so real customers who mention a price get blocked too.
Describe both sides, block and allow, so only the scams are blocked.
This lesson includes a short quiz. Start the lesson to answer it and track your progress.