{
  "id": 932469,
  "title": "I Almost Used AI to Classify User Input. Simple Rules Worked Better",
  "url": "https://urgent.news/2026/08/15/i-almost-used-ai-to-classify-user-input-simple-rules-worked-better",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-15T01:56:06.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/warrenshi/i-almost-used-ai-to-classify-user-input-simple-rules-worked-better-40c1"
  },
  "original_language": "en",
  "account": "The author recently rebuilt a small name tattoo tool and encountered a problem that seemed like a good use case for AI. They initially treated every input the same, but realized the inputs were different and needed a more tailored approach. At first, they considered using an LLM to classify the input, but after listing the cases they cared about, they realized the classification problem was small and predictable. Instead of adding another model call, they used deterministic rules to classify the input. The rules distinguished between factors such as initials, initials + date, name + date, two names, hyphenated names, multi-word text, short single names, medium single names, and long single names. By using deterministic rules, the classification only impacted the UI, helping to choose the first few lettering options that made more sense for the input. This approach proved to be a good decision, as the AI classifier was not necessary for this specific problem. The author now asks themselves if there's enough uncertainty in the input space to justify using AI, rather than asking if AI could handle the task. In the end, they prefer deterministic rules when the problem is not fuzzy enough to require AI, as they offer predictability, simplicity, and ease of reproduction. The main takeaway is that for certain problems like classifying user input, rules can be a better product decision, while AI is more valuable when tackling genuinely open-ended tasks.",
  "summary": "I’ve been rebuilding a small name tattoo tool recently, and I ran into a problem that looked like a good use case for AI. The user enters some text. At first, I treated every input basically the same: text → show a set of lettering styles That works for simple names. But these are all very different inputs: Emma A.M. Jack + Mia Amelia · 1998-11-14 Anna-Marie Forever Dad Showing the exact same…",
  "key_points": [
    "Author rebuilt name tattoo tool and needed tailored input classification",
    "Initially considered using LLM for AI classification, but found problem small and predictable",
    "Deterministic rules distinguished various input factors, proving better decision than AI"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}