feat: Integrate RagDB#8
Conversation
|
hey @brandonzhou2002 what is ragdb? what's its use case? could you send a link? I can't seem to find much about it online. what retrieval algorithm did they use to get that score you provided? |
|
not sure if it makes sense to integrate RagDB at this point... but I'm willing to be convinced! |
More information can be found here: https://github.com/abkmystery/ragdb. The final score is a combination of the TF-IDF vector similarity and substring matching. But tbh I don't think it is really a new algorithm for searching but a lightweight system to process documents. |
I actually agreed as when I developed and went through their repo, I didn't find much new or exciting about the search algorithm but probably an easy or lightweight way to store data and process the documents. So I think we can hold on this for now! |
This PR adds a RagDB-backed sparse retrieval path to QuackIR by introducing
RagDBIndexerandRagDBSearcheradapters.Notes:
fts_indexis a deliberate no‑op and warns to clarify behaviour.