返回顶部
v

vector-store-shootout向量存储对决

8 vector store implementations behind a common interface — numpy, lancedb, qdrant, pgvector, weaviate, weaviate_hybrid, milvus, lightrag. Use when evaluating RAG backends, building vector search, or comparing embedding stores. Each backend is a drop-in replacement via the base class.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
313
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

vector-store-shootout

向量存储对决

八个向量存储后端,共享同一个 VectorStore 接口。只需更改一行代码即可切换后端——其余代码保持不变。

后端

后端类型依赖项最佳适用场景
numpy内存型仅需 numpy原型开发、小数据集
lancedb
文件型 | lancedb | 本地持久化、Arrow原生 | | qdrant | 客户端-服务器 | qdrant-client | 生产环境、过滤操作 | | pgvector | Postgres扩展 | psycopg2 | 现有Postgres部署 | | weaviate | 客户端-服务器 | weaviate-client | 混合搜索(BM25 + 向量) | | weaviate_hybrid | 客户端-服务器 | weaviate-client | BM25主导的混合搜索(alpha=0.1) | | milvus | 客户端-服务器 | pymilvus | 大规模、GPU加速 | | lightrag | 图增强型 | lightrag | 图 + 向量RAG |

通用接口

python
from base import VectorStore

class MyStore(VectorStore):
async def add(self, texts, embeddings, metadatas): ...
async def search(self, query_embedding, k=5): ...
async def delete(self, ids): ...

关键发现

Weaviate混合搜索在alpha=0.1(BM25主导)时平均得分为0.9940,而默认值0.5时为0.9700。对于包含特定术语的技术内容,关键词匹配比语义相似度更为重要。

文件

  • - scripts/base.py — 抽象基类
  • scripts/numpystore.py 至 scripts/lightragstore.py — 全部8个实现

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 vector-store-shootout-1776196922 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 vector-store-shootout-1776196922 技能

通过命令行安装

skillhub install vector-store-shootout-1776196922

下载

⬇ 下载 vector-store-shootout v1.0.0(免费)

文件大小: 25.81 KB | 发布时间: 2026-4-15 11:00

v1.0.0 最新 2026-4-15 11:00
Initial release of vector-store-shootout

- Provides 8 interchangeable vector store backends under a unified Python interface: numpy, lancedb, qdrant, pgvector, weaviate, weaviate_hybrid, milvus, and lightrag.
- Enables easy benchmarking, evaluation, and backend-switching for RAG and vector search applications.
- Simple base class: implement add, search, and delete methods for consistency across backends.
- Includes finding: weaviate hybrid search at alpha=0.1 delivers better results for technical/keyword-heavy content compared to default settings.
- All backends can run locally; outbound network access depends on deployment configuration.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部