I worked on large scale RAG systems before and can say people vastly underestimate full text search and vastly overestimate embeddings. FTS is really easy, portable and scalable and gets you very far, the 80/20 rule applies. Embeddings appear to be nice and magic but when you really get into them you notice: semantic similarity isn’t as good as you think and certainly it won’t make everyone happy. You will inevitably…
I thought text search was always the first thing you try, then fuzzy search, then you go for RAG
RAG Is Simpler Than You Think
71–80 of 138 posts
Re: RAG Is Simpler Than You Think
#72Earlier quoted context omitted.
[flagged]
I've not seen such a clipped cadence out of an LLM. I would not automatically suspect the GP. Maybe there's better ways to spend your time?
As far as uses of time, you are engaging in this dialog too, if you find it not a good way to spend time I recommend ceasing!
Re: RAG Is Simpler Than You Think
#73I worked on large scale RAG systems before and can say people vastly underestimate full text search and vastly overestimate embeddings. FTS is really easy, portable and scalable and gets you very far, the 80/20 rule applies. Embeddings appear to be nice and magic but when you really get into them you notice: semantic similarity isn’t as good as you think and certainly it won’t make everyone happy. You will inevitably…
(Obviously this doesn’t apply to searching actual rich document data - for that, go all in on text search, embedding, etc)
Re: RAG Is Simpler Than You Think
#74It's necessary and would be good for you if you want to learn something systematically.
But for most of the normal issues, we can not rely a lot on it.
Re: RAG Is Simpler Than You Think
#75Earlier quoted context omitted.
Yep, lock into some vendor from day 1. Great idea!
Vendor lock in is 2025. Porting became trivial with LLMs advancing like they have.
Re: RAG Is Simpler Than You Think
#76OT but its interesting that none of the harnesses today use embeddings but just simple grep. I would not have predicted this
Ok? I'm not seeing how that is interesting, you're exclusively focusing on coding which requires precise substring locations. Google is basically almost entirely driven by embedding models now.
Re: RAG Is Simpler Than You Think
#77I worked on large scale RAG systems before and can say people vastly underestimate full text search and vastly overestimate embeddings. FTS is really easy, portable and scalable and gets you very far, the 80/20 rule applies. Embeddings appear to be nice and magic but when you really get into them you notice: semantic similarity isn’t as good as you think and certainly it won’t make everyone happy. You will inevitably…
Re: RAG Is Simpler Than You Think
#78Earlier 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.
Vector embeddings predate LLMs. They have been used as far back as the early 2000s. They are a general machine learning technique, rather than LLM specific
What makes it worse, a lot of people in the thread equate vector search with RAG, whereas RAG is the name for anything that model can query so a user doesn't have to copy/paste feed it to the model manually like access to text files is RAG.
Re: RAG Is Simpler Than You Think
#79Earlier quoted context omitted.
I thought text search was always the first thing you try, then fuzzy search, then you go for RAG
I think Bitwarden implemented some vector search in their password search feature ... totally annoying it gives me back all kinds of stuff that I don't care. I want fuzzy search like 95% of time and then I might consider having additional list of things that can be suggested by vector search.