AI and suffering
Because I like to "suffer", or maybe that's the only way to explain it, I began a doctorate that specializes in GenAI.
It's got to be a love of suffering to combine that with being a dad to 4 kids, working a job, running business - and trying to keep my music skills intact! đ
It is quite fascinating to go behind the scenes, even behind the more familiar world of code to start to poke at "what makes AI tick?"
I'll share some things I am learning over the next couple of days.
This way, when people are talking about AI at the coffee machine, you'll say something that is not about prompting.
One question.
So⊠how do you actually make AI remember stuff?đ€
Iâll be real with you â most people think ChatGPT (or any large language model (LLM)) is this all-knowing machine brain. But hereâs the thing: it actually doesnât know anything about your business.
Ask it about your companyâs policies? Blank stare.
Your product manuals? Nope.
The 500-page PDF your legal team insists employees must read? Forget it.
Thatâs where RAG â Retrieval Augmented Generation â comes in.
Imagine this:
Youâve got a super-smart friend (the AI) who can talk about anything in the world.
Now, you hand them a binder â your private knowledge base.
The catch? They donât memorize it.
Instead, every time you ask a question, they flip to the right page, pull out the answer, and then explain it in their own words.
Thatâs R.A.G: Retrieval Augmented Generation
Simple:
1. Retrieve â Find the relevant info in your documents.
2. Augment â Pass that info into the AI as context.
3. Generate â AI responds, using your private knowledge + its general smarts.
Think of an airline. A passenger asks:
âïž âCan I bring my snowboard bag on the plane?â
The old way: Customer service digs through a giant policy PDF or throws generic âcheck our websiteâ answers.
The RAG way: AI instantly retrieves the exact line in the baggage policy and replies, âYes, but it counts as one piece of checked luggage. Dimensions must be under 158 cm.â
Fast. Accurate. Human-like.
And â bonus â the AI doesnât hallucinate nonsense because itâs tethered to real data with a control known as "temperature".
High temperature, a more "crazy" and "creative" AI with higher deviation from the material. đ€Ș
Low temperature. Chilled, "grounded" AI. đ
Itâs basically open-book exams.
Without RAG â The student (AI) is tested without notes.
With RAG â The student brings the textbook, flips to the right page, and answers confidently.
No teacher on earth would call that âcheating.â
Thatâs just being resourceful.
đ In the next post of this series, Iâll break down how you actually build this: from chunking text to using vector databases without needing a PhD.
But before I go â I want your thoughts:
If you had a personal AI that could instantly search through your teamâs knowledge baseâŠ
Whatâs the first problem youâd throw at it?
Looking forward to your answers.
I read everyone.
John
Responses