← 返回
未分类 中文

Vector DB Toolkit

Vector database operations toolkit for AI/RAG applications. Supports Qdrant, Chroma, and in-memory vector stores. Use when working with embeddings, semantic...
面向 AI/RAG 应用的向量数据库操作工具包,支持 Qdrant、Chroma 及内存向量存储,适用于嵌入向量和语义搜索等场景。
kaiyuelv kaiyuelv 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 323
下载
💾 0
安装
1
版本
#latest

概述

Vector Database Toolkit

Operations toolkit for vector databases used in AI and RAG systems.

Supported Backends

  • Qdrant - Open-source vector DB (REST/gRPC API)
  • Chroma - Lightweight embedded vector DB
  • InMemory - Pure Python fallback for small datasets

Quick Start

Qdrant

from scripts.qdrant_client import VectorClient

client = VectorClient(backend="qdrant", url="http://localhost:6333")
client.create_collection("docs", dimension=768)
client.upsert("docs", ids=["a", "b"], vectors=[[0.1, ...], [0.2, ...]], payloads=[{"title": "A"}, {"title": "B"}])
results = client.search("docs", vector=[0.1, ...], top_k=5)

Chroma

client = VectorClient(backend="chroma", path="/tmp/chroma")
client.create_collection("docs")
client.upsert("docs", ids=["a"], vectors=[[0.1, ...]], payloads=[{"title": "A"}])
results = client.search("docs", vector=[0.1, ...], top_k=5)

Scripts

  • scripts/vector_client.py - Unified client for all backends
  • scripts/qdrant_client.py - Qdrant-specific operations
  • scripts/chroma_client.py - Chroma-specific operations
  • scripts/embedding_utils.py - Text-to-embedding helpers (optional OpenAI, sentence-transformers)

References

  • references/qdrant_api.md - Qdrant API patterns
  • references/chroma_api.md - Chroma API patterns

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-08 13:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,161 📥 931,213
ai-agent

Find Skills

root
帮助用户发现和安装智能体技能,当用户询问如「如何做X」、「找X的技能」、「有能做...的吗」等问题时
★ 1,516 📥 571,165
dev-programming

Api Test Automation

kaiyuelv
API接口测试自动化工具,支持REST/GraphQL,包含接口测试、性能测试、契约测试、Mock服务等功能 | API Test Automation for REST/GraphQL with performance, contract
★ 1 📥 2,573