← 返回横评对比台philippgille/chromem-go(工程健康 B 60/100)vs qdrant/qdrant(工程健康 A+ 98/100)多日涨星趋势对比。
开源 AI 头对头选型横评 (2026)
chromem-go vs qdrant
同属「知识库 / 爬虫 / 记忆层」赛道的横向对比:qdrant/qdrant 在总 Star 规模(★ 35.9k)与近期 7 日涨星势头上均处于领先;协议方面分别为 MPL-2.0 · 弱传染协议 与 Apache-2.0 · 允许商用。
Star 净增曲线叠加对比(可嵌入文章 / README)
基于 RepoForAI 每 6 小时独立快照,支持自动适配 GitHub 深浅色主题。
核心指标横向对比
| 评估维度 | philippgille/chromem-go | qdrant/qdrant |
|---|---|---|
| 总 Star 规模 | ★ 1,077 | ★ 35,877 |
| 24h / 7d 增速 | +0 / +1 | +18 / +135 |
| 7 日涨星曲线 | ||
| 工程健康评分 | B · 60/100 | A+ · 98/100 |
| 部署形态标签 | GitHub Source | Docker · Self-Hosted · API · GPU |
| 主要语言栈 | Go | Rust |
| 商用协议评估 | MPL-2.0 · 弱传染协议 | Apache-2.0 · 允许商用 |
| 维护活跃度 | 2 个月前更新 | 今天刚更新 |
| 最新版本 | v0.7.0 | v1.20.3 |
| 典型适用场景 | 单进程 Go 应用需要 RAG 或语义搜索,语料能装入内存,且精确扫描实测满足时延预算 | 生产 RAG、企业知识检索或商品搜索,需要结合语义召回、关键词匹配与带索引的元数据过滤,并希望掌控检索服务的部署位置 |
维护 chromem-go、qdrant 或同类竞品?在首页与 /alternatives 页置顶你的开源项目。
chromem-go · 亮点与快速安装
运行形态:Go 1.21 模块,不依赖第三方 Go 库,无需启动独立数据库进程。
检索机制:并发执行精确余弦相似度扫描,支持元数据等值过滤和正文
$contains、$not_contains 条件。向量接入:支持托管与本地嵌入服务,可注入
EmbeddingFunc,也可直接写入已有向量。本地持久化:集合和文档分别写入 gob 文件,可选 gzip;查询数据仍驻留内存。
import chromadb # setup Chroma in-memory, for easy prototyping. Can add persistence easily! client = chromadb.Client() # Create collection. get_collection, get_or_create_collection, delete_collection also available! collection = client.create_collection("all-my-documents") # Add docs to the collection. Can also update and delete. Row-based API coming soon! collection.add( documents=["This is document1", "This is document2"], # we handle tokenization, embedding, and indexing automatically. You can skip that and add your own embeddings as well metadatas=[{"source": "notion"}, {"source": "google-docs"}], # filter on these! ids=["doc1", "doc2"], # unique for each doc ) # Query/search 2 most similar results. You can also .get by id results = collection.query( query_texts=["This is a query document"], n_results=2, # where={"metadata_field": "is_equal_to_this"}, # opt
qdrant · 亮点与快速安装
接口:Rust 服务端同时提供 REST 和 gRPC,REST 接口有 OpenAPI 定义。
条件检索:查询规划可利用 JSON payload 索引处理布尔组合、数值范围、全文匹配和地理条件。
融合排序:稠密、稀疏和多向量检索可用 RRF 或 DBSF 融合,MMR 可改善结果多样性。
资源调优:量化和磁盘存储可降低内存压力;支持 NVIDIA 或 AMD GPU 加速索引构建。
docker run -p 6333:6333 qdrant/qdrant
chromem-go vs qdrant 常见问题 (FAQ)
chromem-go 和 qdrant 在开源协议与商用合规上有什么区别?
philippgille/chromem-go 采用 MPL-2.0 · 弱传染协议(文件级开源协议,允许作为独立库在商业闭源项目中链接调用。);qdrant/qdrant 采用 Apache-2.0 · 允许商用(宽松开源协议,允许商业使用、修改与私有化闭源分发(保留版权声明即可)。)。
2026 年 chromem-go 与 qdrant 哪个社区增长更快?
按 RepoForAI 实时快照,chromem-go 总 Star 1,077(7日 +1),qdrant 总 Star 35,877(7日 +135),近期增速由 qdrant 领先。
团队技术选型时该如何二选一?
适合选用 chromem-go(Go):单进程 Go 应用需要 RAG 或语义搜索,语料能装入内存,且精确扫描实测满足时延预算;适合选用 qdrant(Rust):生产 RAG、企业知识检索或商品搜索,需要结合语义召回、关键词匹配与带索引的元数据过滤,并希望掌控检索服务的部署位置。