Here’s an even simpler take: just embed everything the first time, then track what was changed. Use a cheap model to summarize and clean up the documents/chats with summary and keywords. Unless you have entire libraries of books to embed it’s going to be a few hundred dollars of API calls. Then, throw it all in BigQuery. Handles all the vector stuff natively. Sprinkle an agentic bot UI thing on top to make it appear…
> embed everything the first time This assumes your text is small. Try embedding pdf reports - though luck. It surely won’t fit into most embeddings. I can think of many more examples: books, news articles, medical reports, insurance claims etc. they’re all too big to “index it all at once”
RAG Is Simpler Than You Think
51–60 of 125 posts
Re: RAG Is Simpler Than You Think
#52Re: RAG Is Simpler Than You Think
#53Earlier quoted context omitted.
A hyperlink to Wikipedia would have solved that issue.
Maybe if a person can't even google RAG they are not the intended audience of that article.
It’s not that I can’t or don’t know how, it’s rather that the expectation should be that a website should… link you to the information it believes to be relevant background. It’s why it’s called a “web”, linking is a core concept.
Re: RAG Is Simpler Than You Think
#54Earlier quoted context omitted.
Maybe if a person can't even google RAG they are not the intended audience of that article.
Eh, a healthy web is a web. I enjoy my preferred search engine, but surfing the web is becoming a lost medium.
That is so not Web 5.0. Best I can offer is a support widget that pops up and keeps trying to talk to you until you interract with it.
Re: RAG Is Simpler Than You Think
#55Re: RAG Is Simpler Than You Think
#56Re: RAG Is Simpler Than You Think
#57The article sounds like AI slop with some predictable tells like short punctual sentences, bizarre jargon, and titles like "Recipe 4: On-The-Fly Embedding (The Fresh Data Play)" Can we not reward junk like this? Most of the sentences are incomprehensible and provide zero actual argumentation, it's just a list of "whats" with no "whys"
You are right, now I noticed "Real talk" and "Why this is underrated" and I can't unsee it.
Re: RAG Is Simpler Than You Think
#58Re: RAG Is Simpler Than You Think
#59Earlier quoted context omitted.
The whole embedding thing which converts “tokens” to vectors, which you then store in a vector database so that you can later query by vector distance, seems to be LLM specific technology, no? As far as I know the vectors look a lot like the weights in a LLM itself which is why the vector search also works with some level of intelligence.
not really, vectorising text/books is old school ML by this point. at least to me that seems the same as https://en.wikipedia.org/wiki/Word2vec for e.g.
Re: RAG Is Simpler Than You Think
#60The key thing with RAG is to get the right information in the context with as few queries as possible. That requires good recall (ensuring that if it is there it can be found with a reasonable query) and precision (ensuring the best stuff is on top and minimizing false positives).
With search, and by extension RAG, the principle of shit in, shit out applies. Most of what search teams did before AI and RAG is still the best way to optimize the experience with RAG. And if you mess that up, search is not going to be working that well and no amount of AI can compensate for that or only at great cost in tokens and time. So, having an ETL pipeline to pre-process what you index, testing & benchmarking search quality, etc. are all helpful.
The good news is that you don't need that much skills with agentic coding to build something half decent for this. This code almost writes itself. And even a little bit of effort on extracting structure before indexing can make a big difference.