You don’t need embeddings to do RAG. In fact, off-the-shelf, vector search can be actively harmful. It’s the wrong lens to think about the problem.

We got into this vector mess because RAG, at first blush, looks like a question answering system. The user asks the AI a question. It understands and responds in natural language. So, naturally, the search behind the AI should take questions and respond with answers.

In this line of thinking, we should be able to “ask” the vector database a free-form question, encoding a question like

What is the capital of France?

into an embedding…

…we find, in our vector index, the most similar vector, corresponding to:

Answer: Paris is the capital and largest city of France, with an estimated city population of 2,048,472 in an area of 1…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help