Metadata filtering before similarity search
Hi, First of all very cool repository! Thanks for open sourcing it!
As far as i can tell, it is not possible now to do metadata filtering before running the similarity search ( e.g. in a multi tenant system) Is this something that is on the roadmap? Or do you suggest to always use a different db for each tenant?
Hi @Nurfen, metadata filtering is one of the top features we'd like to implement. There's no ETA yet though, but we'll keep you posted!
Ok great! Thanks for the reply :)
could this be already implemented?
I was skimming the code and found _apply_metadata_filter and https://github.com/superlinear-ai/raglite/pull/160 introduced it.
Indeed, this is supported, we just had forgotten to include it in the readme. This has been done now with #168
see: https://github.com/superlinear-ai/raglite?tab=readme-ov-file#2-inserting-documents