Header Logo
LOG IN
← Back to all posts

How to feed your AI

Apr 04, 2026
Connect

Wait… how do you actually feed knowledge into RAG?🤖

RAG??

Well, if you missed the last post it was about Retrieval Augmented Generation (RAG) and me complaining about a doctorate program in Gen AI. 😅

I'm also learning and taking classes more than ever before, because that's how you stay relevant in a fast-changing world!

Alright, so last time I said RAG is like giving your AI an open-book exam. But here’s the catch: if your “book” is a messy 400-page PDF, your AI is going to get lost flipping through it.

So the trick is: don’t give the AI the whole book.

You slice it down into bite-sized pieces through some processes I will lay out below. 

⸻

Step 1: Chunking 📚

Instead of throwing giant documents at your AI, you break them down into chunks — usually a few paragraphs each.

Think of it like ripping chapters out of a book so your friend can quickly pull just the right page.

⸻

Step 2: Vectorizing 🔢

Now, here’s the slightly nerdy part:
Each chunk gets turned into a vector, which is basically a long list of numbers that capture its meaning. And there is a lot of mind-bending cosine stuff and math here (or maybe it was just mind-bending for me!) Why all this math? 

Why?
Because numbers are way easier for computers to compare than raw text.

So when you ask, “What’s the refund policy?” – the AI doesn’t search keywords, it searches meanings. 

⸻

Step 3: Retrieval 🎯

When you ask a question, the system finds the top few chunks that are most relevant. The fancy term is "top K". 


Then it hands those to the AI along with your question, and boom — the AI gives you a personalized, accurate answer!

Remember those chunks we spoke about?

In the next post, I’ll talk about where you store all these chunks. But before we get there, what’s the most chaotic document you’d love to see an AI instantly organize for you?

And let me know if you like this AI series OR if you'd rather we focus on other themes.

Let me know. I read every response. 

 

Regards

 

John 

P.S: Want to know about our programs, here is a good starting point. 

 

Responses

Join the conversation
t("newsletters.loading")
Loading...
You're doing the work. So why don't you have the title?
Don't be like me. I used to run the project. You can relate to this, I'm sure. I'd do it all. Classic "good boy". Set up the meetings. Chase the updates. Write the handover docs nobody else wanted to touch. Then sit quietly while someone else presented it to the director. I wasn't invisible because I wasn't good enough. Not tooting my horn. I was good. Very good. 😎  I was invisible because I ne...
Stop Running. Seriously. Stop
I’m writing a different type of note today to you. It may make you feel uncomfortable; truth often does that.   But it’s really to ask you 2 important questions: When you look at what you are doing daily, does it lead you to the desired life you say you want? If the answer is no, what is really stopping you?   You may have signed up to get a free tool, or learn about project management.    Ho...
AI will make most people stupid
Sounds extreme, but it isn’t - and it will happen in many ways.   First, for most people, algorithms will figure out your preferences. Religion, politics, biases, preferences. Then the algorithms will spit a lot of that right back at you in your feed. Many apps have a feed by design; “Hooked” by Nir Eyal shows how this can be addictive - by design. Pretty much, you consume a lot of information ...

The PM Edge

Get sharp, actionable insights every week on mastering project delivery, stakeholder strategy, and tech PM career growth—designed for professionals serious about leveling up.
© 2026 JAVON TECHNOLOGY LIMITED. ALL RIGHTS RESERVED.

Join The FREE Challenge

Enter your details below to join the challenge.