AmenRa / retriv

A Python Search Engine for Humans 🥸
MIT License
188 stars 22 forks source link

[Feature Request] Optional Dependencies ["sparse", "dense"] #42

Open mabounassif opened 1 month ago

mabounassif commented 1 month ago

Would it be valuable to reorganize the dependencies using setuptools optional dependencies?

I find myself interested only in the sparse indexing bm25 but don't find it valuable to install torch, transformers etc... which are bloating my binaries.

I can put together a PR that can split the dependencies if it's aligned with the project's roadmap.