Chinese contentWeaviate 上线 Diversity Ranking:一个参数解决检索结果同质化
做 RAG 或搜索的人应该都有过返回五条几乎一样的结果的体验,Weaviate 把 MMR 多样性重排做成了一个 diversity_weight 参数,省掉自己写 rerank 流水线。和自己手搓方案比配置成本低很多,值得在你的检索链路里试一下 0.5 左右的取值。
做 RAG 或搜索的人应该都有过返回五条几乎一样的结果的体验,Weaviate 把 MMR 多样性重排做成了一个 diversity_weight 参数,省掉自己写 rerank 流水线。和自己手搓方案比配置成本低很多,值得在你的检索链路里试一下 0.5 左右的取值。
Duplicate-heavy first pages hurt RAG pipelines because they waste context slots on near-identical chunks, and MMR fixes this without reindexing. The key operational detail is that the default balance of 0.0 prioritizes pure diversity and can drift far from the query, so developers must pass the parameter explicitly. Practitioners building search or retrieval features in Weaviate can enable it immediately on existing collections.
做 RAG 或智能体检索的团队,终于不用被五个语义相同的 chunk 塞满上下文了——Weaviate 的 MMR 一行参数就能让结果既相关又多样,值得直接上手试。