{"id":"cx-intent-labels-csv-low-confidence","audience":"customer-support","category":"support-work","technique":"constraints","track":"support","level":"advanced","title":"Label six messages with intents and flag ambiguous ones","free":false,"task":"Label each message with one intent from: ORDER_STATUS, REFUND, ACCOUNT_ACCESS, BILLING, OTHER. If a message has two intents, use the first one mentioned and set confidence to low; otherwise high. Return one CSV code block with the header \"id,intent,confidence\" and six rows. No text outside the block. At most 8 lines.","materialLabel":"Your material (attached to your prompt automatically)","material":"CUSTOMER MESSAGES FOR THE CHATBOT TRAINING SET\nM1: \"where is my package\"\nM2: \"I can't get into my account and I was also charged twice\"\nM3: \"Please send me last month's invoice\"\nM4: \"I want my money back for order 4410\"\nM5: \"Do you sell gift cards?\"\nM6: \"My reset email never came and I'm locked out\"\n\nINTENT GUIDE\nORDER_STATUS: delivery or tracking questions.\nREFUND: asking for money back for an order.\nACCOUNT_ACCESS: login, password reset, locked out.\nBILLING: invoices, charges, payment methods.\nOTHER: anything else, including product questions.\n\nNote: M6 mentions a reset email and being locked out, but both are the same intent (access).\nA double charge counts as BILLING.","rules":[{"type":"codeBlocks","count":1},{"type":"maxCodeLines","max":8}],"mistakes":[{"title":"Picking the wrong intent for M2","why":"M2 has two intents and the AI picks the second.","fix":"Say: \"Two intents: use the first one mentioned, confidence low.\"","checks":["r1"]},{"title":"Marking everything high","why":"The AI never flags the ambiguous message.","fix":"Say: \"Confidence low only for messages with two intents.\"","checks":["r2"]},{"title":"Extra text","why":"The AI adds an explanation or a table.","fix":"Say: \"One CSV code block, header id,intent,confidence.\"","checks":["r0"]},{"title":"Skipping the code block shape","why":"The AI splits output into several code blocks or none.","fix":"Say \"exactly one code block and nothing else\".","checks":["codeBlocks"]},{"title":"Letting the code sprawl","why":"The AI adds extra lines and comments.","fix":"Say \"at most N lines of code\".","checks":["maxCodeLines"]}],"promptHints":[{"label":"Asks for one code block","patterns":["code block","```"]},{"label":"Caps the code length","patterns":["lines"]},{"label":"Gives the header","patterns":["id,intent,confidence"]},{"label":"States the two-intent rule","patterns":["two intents","first one","low"]}],"hint":"Labeling ambiguous inputs needs a tie rule and a flag. Give both and the exact CSV shape.","rubricLabels":["The output is a single CSV code block with the header id,intent,confidence and six data rows M1 to M6, and no text outside it","The intents are M1 ORDER_STATUS, M2 ACCOUNT_ACCESS, M3 BILLING, M4 REFUND, M5 OTHER, M6 ACCOUNT_ACCESS","M2 has confidence low and the other five have confidence high"]}