-
-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RAGatouille: Dedicated ModelIndex #158
Conversation
Hey Luca. Thank you! This looks great, and very close to what I had in mind (decoupling Index and Model has been long overdue). I like the approach a lot. |
Wonderful things!! :D |
The issue mentioned in #168 should be fixed with these changes. However, it seems there is a similar issue for |
@anirudhdharmarajan would you mind taking a look at these changes to make sure I have incorporated your fixes correctly? Thanks in advance. |
Can confirm that this appears to resolve #168, as well as the issue that I mentioned with the searcher not updating after add. I did have to modify my test script to add 64 new documents instead of 1, or I ran into the error:
Not sure if this is considered an issue (tho kind of a pain for my use-case, since I do plan to be adding documents one at a time) |
This looks great so far, thank you @jlscheerer. I'll try and review it more thoroughly and have it merged Monday at the latest, along with a new release! |
Hey, back from the food poisoning, not quite recovered but not quite as bad either 🥲. LGTM so far and the tests are passing. All seems good locally, there's just the one comment above (about emptying |
Fantastic, thank you! Will release this as 0.8.0 later today 😄 |
Starts to decouple a concrete
ModelIndex
from theLateInteractionModel
.The aim here is to be able to support a variety of different Indexes in the future (e.g., flat, or HNSW).
In particular, it should be possible to support lower depdenceny/CRUD-friendly indices in case of a small number of documents.
Relevant issue: #110