karakeep-app/karakeep
Fr: expose binaryQuantized of meilisearch (faster search and lighter db)
Aperta
#1315 aperta il 26 apr 2025
feature requestgood first issuepri/lowstatus/approved
Metriche repository
- Star
- (27.587 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Describe the feature you'd like
Hi,
binaryQuantized allows to keep only 1 and 0s in the embedding process, making the db way smaller and the search way faster. Depending on the model and dimensions the loss can actually be negligible.
In this example using binary embeddings uses 3% of the space (x32 compression) and retains 96% of the performance with a x25 speedup.
I'm not saying it should default to true but exposing the setting would be a good start!
Here's the doc
Describe the benefits this would bring to existing Karakeep users
Way faster search, way lower db size, usable on cheaper hardware.
Can the goal of this request already be achieved via other means?
No
Have you searched for an existing open/closed issue?
- I have searched for existing issues and none cover my fundamental request
Additional context
No response