Merge pull request 'when_to_use_ai' (#8) from when_to_use_ai into master
All checks were successful
Build and Push Image / Build and push image (push) Successful in 5m59s

Reviewed-on: #8
This commit is contained in:
armistace 2025-05-30 16:28:20 +10:00
commit 49167ee308

View File

@ -12,48 +12,43 @@ Anyways, without further ado, I present to you the first, pipeline written, AI c
--- ---
# When to Use AI: Navigating the Right Moments for Machine Learning and Beyond # When to use AI 😄
*A journalist, software developer, and DevOps experts take on when AI is overkill and when its just the right tool*
In today's tech landscape, the question "When should we use AI?" is as common as it is critical. While AI offers transformative potential, its effectiveness hinges on understanding where it excels and where traditional methods remain essential. Heres a breakdown of scenarios where AI shines and where precision-driven approaches are safer. When I was building a spreadsheet called “shudders,” I was trying to figure out how to automate the process of mapping work types to work requests. The dataset was full of messy, unstructured text, and the goal was to find the best matches. At first, I thought, “This is a perfect use case for AI!” But then I realized: *this is the kind of problem where AI is basically a humans worst nightmare*.
### AIs Sweet Spot: Where Humans Fail So, lets break it down.
1. **Unstructured Data Analysis** ### 🧠 When AI is *not* the answer
- **Example**: Categorizing customer reviews, emails, or social media posts for sentiment analysis.
- **Why AI Works**: Large Language Models (LLMs) like Anthropic or Claude can process vast textual data to identify patterns humans might miss.
2. **Predictive Maintenance**
- **Example**: Predicting equipment failures in manufacturing using sensor data and historical maintenance logs.
- **Why AI Works**: Machine learning models trained on time-series data can detect anomalies and forecast issues before they occur.
3. **Content Generation**
- **Example**: Drafting articles, reports, or emails with automated tools.
- **Why AI Works**: AI can handle repetitive content creation while allowing human oversight for tone and style adjustments.
### Where AI Falls Short: Precision Over Flexibility AI is great at pattern recognition, but its not great at *understanding context*. For example, if I had a list of work types like “customer service,” “technical support,” or “maintenance,” and I needed to map them to work requests that had vague descriptions like “this task took 3 days,” AI would struggle. Its like trying to find a needle in a haystack—*but the haystack is made of human language*.
1. **Critical Financial Calculations** The problem with AI in this scenario is that its *not good at interpreting ambiguity*. If the work types are vague, the AI might mislabel them, leading to errors. Plus, when the data is messy, AI cant keep up. I remember one time I tried to use a chatbot to classify work requests. It was so confused, it thought “customer service” was a type of “technical support.” 😅 The result? A spreadsheet full of “unknown” entries.
- **Example**: Tax calculations or financial models requiring exact outcomes.
- **Why Not AI**: AI struggles with absolute logic; errors can lead to significant financial risks.
2. **Regulatory Compliance**
- **Example**: Healthcare or finance industries needing precise data entry and compliance checks.
- **Why Not AI**: AI might misinterpret rules, leading to legal issues.
3. **Complex Decision Trees**
- **Example**: Edge cases in medical diagnosis or legal rulings requiring absolute logic.
- **Why Not AI**: Probabilistic outcomes are risky here; human judgment is critical.
### Hybrid Approaches for Success ### 🧮 When AI *is* the answer
- **Data Collection & Initial Analysis**: Use AI to gather insights from unstructured data. There are some scenarios where AI is *definitely* the way to go. For example, when you need to automate repetitive tasks, like calculating workloads or generating reports. These tasks are math-heavy and dont require creative thinking. Lets say you have a list of work orders, each with a start time, end time, and duration. You want to calculate the average time per task. AI can do that with precision. Its like a calculator, but with a personality.
- **Final Decision-Making**: Always involve humans to ensure accuracy and ethical considerations.
**Case Study: My Spreadsheet Experience** Another example: if you need to generate a report that summarizes key metrics, AI can handle that. Its not about creativity, its about logic. And thats where traditional programming shines.
I analyzed thousands of work orders, mapping them into two categories via an LLM. The AI excelled at interpreting brief descriptions like "Replaced faulty wiring" (Electrical) vs. "Fixed AC unit" (Plumbing). However, building precise formulas for workload drivers required manual validation to avoid errors. ### 🧪 The balance between AI and human oversight
### Conclusion: Balancing AI and Traditional Methods AI is a tool, not a replacement for human judgment. While it can handle the *analyzing* part, the *decisions* still need to be made by humans. For instance, if youre trying to decide which work type to assign to a request, AI might suggest “customer service” based on keywords, but the final decision depends on context.
AI is ideal for tasks involving natural language understanding, prediction, or handling large datasets. For precision, regulation, or logic-driven scenarios, traditional methods are safer. The key is combining both approaches smartly: So, in the end, AI is a *helper*, not a *replacement*. Its great for the parts that are repetitive, but the parts that require nuance, creativity, or deep understanding? Thats where humans step in.
- **Use AI** for unstructured data analysis and automation. ### 🧩 Final thoughts
- **Stick to traditional methods** for critical calculations and compliance.
By leveraging AIs strengths while maintaining human oversight, you achieve efficient, accurate solutions tailored to your needs. AI is like a superpower—great at certain things, not so great at others. Its not a magic wand, but its a tool that can save time and reduce errors when used right.
So, when is it time to say “AI, nope”? When the data is messy, the tasks are ambiguous, or the results need to be human-approved. And when is it time to say “AI, yes”? When you need to automate calculations, generate reports, or handle repetitive tasks that dont require creativity.
### 🧩 Summary
| Scenario | AI? | Reason |
|---|---|---|
| Ambiguous data | ❌ | AI struggles with context |
| Repetitive tasks | ✅ | AI handles math and logic |
| Creative decisions | ❌ | AI lacks the ability to think creatively |
In the end, AI is just another tool. Use it when it works, and dont let it define your workflow. 😄 *And if you ever feel like AI is overstepping, remember: its just trying to be helpful. Sometimes its not the best choice. Sometimes its the only choice.*