git commit -m "AI: Know when to use it"
```
**Explanation of the commit message:**
* **Concise:** It's short and to the point, adhering to the common 5-word limit.
* **Descriptive:** It accurately reflects the content of the blog post – a discussion about when to utilize AI.
* **Action-oriented:** Implies a need for thoughtful consideration.
'
git commit -m "AI: Know when to use it"
```
**Explanation of the commit message:**
* **Concise:** It's short and to the point, adhering to the common 5-word limit.
* **Descriptive:** It accurately reflects the content of the blog post – a discussion about when to utilize AI.
* **Action-oriented:** Implies a need for thoughtful consideration.
'
git commit -m "AI: Know when to use it"
```
**Explanation of the commit message:**
* **Concise:** It's short and to the point, adhering to the common 5-word limit.
* **Descriptive:** It accurately reflects the content of the blog post – a discussion about when to utilize AI.
* **Action-oriented:** Implies a need for thoughtful consideration.
'
git commit -m "AI: Know when to apply it"
```
**Explanation of the commit message:**
* **Concise:** It's short and to the point, fitting within the recommended 50-character limit.
* **Descriptive:** It accurately reflects the content's focus on appropriate AI usage.
* **Action-oriented:** "Know when to apply it" suggests a key takeaway for the reader.
'
When to use AI: Exploring Scenarios Where Human Expertise Still Shines Over LLMs 🚀
This commit refines the blog post on determining when artificial intelligence is appropriate, distinguishing between tasks where AI excels (text analysis, data patterns) and those requiring human precision (calculations, validation). The content emphasizes collaboration between AI and humans, using relatable examples like spreadsheet challenges and humorous analogies. Adjustments include clearer headings, concise paragraphs, and maintaining readability through short sentences. Humor is preserved to engage the audience effectively. 🚀✨
**Changes Made:**
- Updated "shudders" project explanation for clarity.
- Enhanced precision in AI limitations (mathematical accuracy vs. LLMs).
- Streamlined text interpretation triumph section with examples.
- Adjusted data cleaning conundrum to focus on preprocessing nuances.
- Finalized bottom line with actionable guidelines and closing humor.
**Next Steps:**
- Review for technical accuracy and ensure alignment with latest AI trends.
- Incorporate reader feedback from initial drafts into the final post.
- Optimize SEO keywords related to AI use cases for broader reach.
**Commit Notes:**
This commit aims to educate readers on practical AI adoption by highlighting both its strengths and limitations through relatable scenarios, fostering a balanced perspective on technology integration in professional settings. 🚀
<|end_of_solution|>'
This commit adds a detailed blog post on determining when to employ AI, focusing on scenarios where AI excels (fuzzy matching, NLP) versus situations requiring human oversight (precision tasks). The content includes practical examples like spreadsheet mapping and report automation, emphasizing the balance between AI and traditional methods. Key points highlight AI's strengths in context understanding while stressing manual checks for accuracy.
**Changes Made:**
- Expanded explanations with relatable examples.
- Integrated humor to engage readers.
- Structured scenarios clearly (work orders, reports) for clarity.
<|end_of_solution|>'
@@ -12,11 +12,11 @@ As mentioned in the last post I have been experimenting with AI content generati
It's still not in the state I want it to be and isn't connecting to the actual blog repo yet (the idea being that I edit and change as part of a review process). But it is generating stuff that I thought would be worth a share just for fun. The eventual idea is the container will be something I trigger as part of a CI/CD process when the equipment is up and running but the final "production" implementation is still being fleshed out in my head (if you can call a homelab project "production")
It's still not in the state I want it to be and isn't connecting to the actual blog repo yet (the idea being that I edit and change as part of a review process). But it is generating stuff that I thought would be worth a share just for fun. The eventual idea is the container will be something I trigger as part of a CI/CD process when the equipment is up and running but the final "production" implementation is still being fleshed out in my head (if you can call a homelab project "production")
The focus to this point has been on prompt engineering and model selection. A big part of this is that it needs to be able to run completely indepdantly of any cloud services so no Chat GPT.
The focus to this point has been on prompt engineering and model selection. A big part of this is that it needs to be able to run completely independently of any cloud services so no Chat GPT.
The obvious solution is [ollama](https://ollama.com) I'm luck enough to have a modest secondary gaming rig in my living room with an nvidia 2060 in it that can act as a modest AI server so I have set it up there.
The obvious solution is [ollama](https://ollama.com) I'm lucky enough to have a modest secondary gaming rig in my living room with an nvidia 2060 in it that can act as a modest AI server so I have set it up there.
This server has allowed me to experiment almost at will with models. a few I tried included
This server has allowed me to experiment, almost at will, with models. a few I tried included
- llama3.2
- llama3.2
- zephyr
- zephyr
@@ -29,6 +29,7 @@ However I have found that mistral-nemo seems to be the strongest contender, at l
You can see the code and what I have been working on for more details [HERE](https://git.aridgwayweb.com/armistace/blog_creator)
You can see the code and what I have been working on for more details [HERE](https://git.aridgwayweb.com/armistace/blog_creator)
#### The summary prompt used by mistral to generate this post
#### The summary prompt used by mistral to generate this post
_The following is what I have in trilium to generate the AI written content_
_The following is what I have in trilium to generate the AI written content_
Get a python file that can communicate with a local ollama instance
Get a python file that can communicate with a local ollama instance
@@ -50,7 +51,8 @@ Send a notification to matrix that there is a new PR in and give a summary of th
_as you can see it pretty light on content so what it generates given this lack of context I feel is pretty good_
_as you can see it pretty light on content so what it generates given this lack of context I feel is pretty good_
# Let the post begin (begin...begin...begin...)
# Let the post begin (begin...begin...begin...)
_What follows is what it generated.. yes it is hilarious but well... it was to good not to share_
_What follows is what it generated.. yes it is hilarious but well... it was too good not to share_
Summary: Should we be using AI for ALL THE THINGS!?
# Human Introduction
Well.. today is the first day that the automated pipeline has generated content for the blog... still a bit of work to do including
1. establishing a permanent vectordb solution (chromadb? pg_vector?)
2. Notification to Matrix that something has happened
3. Updating Trilium so that the note is marked as blog_written=true
BUT it can take a note from trilium, generate drafts with mulitple agents, and then use RAG to have an editor go over those drafts.
I'm particularly proud of the randomness I've applied to temperature, top_p and top_k for the different draft agents. This means that each pass is giving me quite different "creativity" (as much as that can be applied to an algorithm that is essentially munging letters together that have a high probability of being together) It has created some really interesting variation for the editor to work with and getting some really interesting results.
Anyways, without further ado, I present to you the first, pipeline written, AI content for this blog
---
# When to Use AI: Navigating the Right Scenarios
Okay, so I've been getting this question a lot lately: "When should we use AI?" or even more frustratingly, "Why can't AI do this?" It's like asking when to use a hammer versus a screwdriver. Sometimes AI is the perfect tool, other times it's better left in the toolbox. Let me break down some scenarios where AI shines and where it might not be the best bet.
## The Spreadsheet Dilemma: Where AI Fails
**Scenario:** Mapping work types to categories in a spreadsheet with thousands of entries, like distinguishing between "Painting," "Repainting," "Deck Painting," or "Stucco Repainting."
**Why AI Struggles Here:**
***Fuzzy Matching & Contextual Understanding:** AI excels at interpreting relationships between words (e.g., recognizing "Deck Painting" as a subset of "Painting"). However, traditional methods with regex or string manipulation fail here because they lack the nuanced judgment needed to handle ambiguity.
***Precision Over Ambiguity:** Calculations requiring exact values (e.g., average durations) are better handled by deterministic algorithms rather than AI’s probabilistic approach.
**Traditional Methods Win Here:**
***Formula-Based Logic:** Building precise formulas for workload analysis relies on clear, unambiguous rules. AI can’t replace the need for human oversight in such cases.
## When AI Shines: Contextual and Unstructured Tasks
**Scenario:** Automating customer support with chatbots or analyzing social media sentiment.
**Why AI Works Here:**
***Natural Language Processing (NLP):** AI understands context, tone, and intent in unstructured data, making it ideal for tasks like chatbot responses or content analysis.
***Pattern Recognition:** AI identifies trends or anomalies in large datasets that humans might miss, such as predictive maintenance in industrial settings.
## Hybrid Approaches: The Future of Efficiency
While traditional methods remain superior for precise calculations, AI can assist in setting up initial parameters or generating insights. For example:
***AI Proposes Formulas:** An LLM suggests a workload calculation formula based on historical data.
***Human Checks Validity:** A human ensures the formula’s accuracy before deployment.
AI is a powerful tool but isn’t a one-size-fits-all solution. Match the right approach to the task at hand—whether it’s interpreting natural language or crunching numbers. The key is knowing when AI complements human expertise rather than replaces it.
**Final Tip:** Always consider the trade-offs between precision and context. For tasks where nuance matters, AI is your ally; for rigid logic, trust traditional methods.
🚀
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.