Auto-sync: update nexus workspace
This commit is contained in:
@@ -1,31 +1,43 @@
|
||||
---
|
||||
title: "Qdrant"
|
||||
type: entity
|
||||
tags: [vector-database, rag, rust, open-source]
|
||||
last_updated: 2025-01-16
|
||||
---
|
||||
|
||||
## Definition
|
||||
Qdrant 是用 Rust 编写的开源向量数据库(Vector Store),提供高效的 Embedding Vector 存储和相似度检索能力,支持余弦相似度、欧氏距离等多种度量方式,以及过滤(Filtering)和分组(Grouping)等高级查询功能。
|
||||
|
||||
## Type
|
||||
- **Category**: 向量数据库 / Vector Database
|
||||
- **Language**: Rust
|
||||
- **Website**: qdrant.tech
|
||||
- **License**: Apache 2.0
|
||||
|
||||
## Core Capabilities
|
||||
1. **向量存储**:高维向量(Embedding)的持久化存储
|
||||
2. **相似度检索**:余弦相似度、点积、欧氏距离等多种度量方式
|
||||
3. **Top-k 检索**:根据相似度排序返回最接近的 k 个向量
|
||||
4. **过滤查询**:支持基于 Payload(元数据)的预过滤,精确定位检索范围
|
||||
5. **分布式部署**:支持集群模式横向扩展
|
||||
|
||||
## In RAG Context
|
||||
- [[rag从入门到精通系列1-基础rag]] 中作为 Indexing 阶段向量存储后端 + Retrieval 阶段检索引擎
|
||||
- 与 LangChain 的 Vector Store 接口无缝集成
|
||||
|
||||
## Related Concepts
|
||||
- [[Vector Store]] — Qdrant 属于 Vector Store 的一种实现
|
||||
- [[RAG]] — Qdrant 是 RAG Pipeline 的基础设施组件
|
||||
- [[Retrieval]] — Qdrant 提供向量相似度检索能力
|
||||
---
|
||||
title: "Qdrant"
|
||||
type: entity
|
||||
tags: [向量数据库, 开源, Rust]
|
||||
sources: [rag从入门到精通系列1-基础rag]
|
||||
last_updated: 2025-01-16
|
||||
---
|
||||
|
||||
## Definition
|
||||
|
||||
Qdrant 是一个由 Rust 编写的开源向量数据库和向量搜索引擎,专注于高性能向量存储与相似度检索,支持生产级部署。
|
||||
|
||||
## Key Features
|
||||
|
||||
- **高性能**:Rust 编写,内存安全,支持 HNSW 和 SCAN 等索引算法
|
||||
- **过滤支持**:支持在向量检索时附加标量字段过滤条件
|
||||
- **混合检索**:支持结合向量相似度与传统关键词匹配
|
||||
- **部署灵活**:支持 Docker 部署和云原生部署
|
||||
- **API 友好**:提供 RESTful API 和 gRPC 接口
|
||||
|
||||
## Usage in RAG
|
||||
|
||||
本文档使用 Qdrant 作为向量数据库存储 Embedding Vector:
|
||||
1. 配置 Qdrant 客户端连接
|
||||
2. 创建 Collection 存储文档向量
|
||||
3. 通过 LangChain 的 `Qdrant` 集成进行 Indexing 和 Retrieval
|
||||
|
||||
## Alternatives
|
||||
|
||||
- Chroma(轻量本地)
|
||||
- Milvus(分布式生产级)
|
||||
- Weaviate(混合检索)
|
||||
- Pinecone(云托管)
|
||||
|
||||
## Connections
|
||||
|
||||
- [[Qdrant]] ← used_in ← [[RAG]]
|
||||
- [[Qdrant]] ← stores ← [[Vector-Store]]
|
||||
- [[Qdrant]] ← integrated_by ← [[LangChain]]
|
||||
|
||||
## Aliases
|
||||
|
||||
- Qdrant Vector Database
|
||||
|
||||
Reference in New Issue
Block a user