karakeep-app/karakeep

Fr: expose binaryQuantized of meilisearch (faster search and lighter db)

开放

#1,315 创建于 2025年4月26日

 (1 条评论) (0 个反应) (0 位负责人)TypeScript (1,356 个派生)auto 404
feature requestgood first issuepri/lowstatus/approved

仓库指标

星标
 (27,587 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南