qdrant-clients-sdk
Qdrant provides client SDKs for various programming languages, allowing easy integration with Qdrant deployments.
适合你,如果需要在应用中集成 Qdrant 向量数据库
/ 通过 npx 安装 校验哈希
npx oh-my-skill add qdrant/skills/qdrant-clients-sdk/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- qdrant/skills/qdrant-clients-sdk/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify qdrant/skills/qdrant-clients-sdk安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
–GitHub stars
~633上下文体积 · 单文件
索引托管
怎么用
技能原文 SKILL.md
Qdrant Clients SDK
Qdrant has the following officially supported client SDKs:
- Python — qdrant-client · Installation:
pip install qdrant-client[fastembed] - JavaScript / TypeScript — qdrant-js · Installation:
npm install @qdrant/js-client-rest - Rust — rust-client · Installation:
cargo add qdrant-client - Go — go-client · Installation:
go get github.com/qdrant/go-client - .NET — qdrant-dotnet · Installation:
dotnet add package Qdrant.Client - Java — java-client · Available on Maven Central: https://central.sonatype.com/artifact/io.qdrant/client
API Reference
All interaction with Qdrant can happen through the REST API or gRPC API. We recommend using the REST API if you are using Qdrant for the first time or working on a prototype.
- REST API - OpenAPI Reference - GitHub
- gRPC API - gRPC protobuf definitions
Code examples
To obtain code examples for a specific client and use case, you can send a search request to the library of curated code snippets for the Qdrant client.
curl -X GET "https://skills.qdrant.tech/snippets/search?language=python&query=how+to+upload+points"
Available languages: python, typescript, rust, java, go, csharp
Response example:
## Snippet 1
*qdrant-client* (vlatest) — https://skills.qdrant.tech/md/documentation/manage-data/points/
Uploads multiple vector-embedded points to a Qdrant collection using the Python qdrant_client (PointStruct) with id, payload (e.g., color), and a 3D-like vector for similarity search. It supports parallel uploads (parallel=4) and a retry policy (max_retries=3) for robust indexing. The operation is idempotent: re-uploading with the same id overwrites existing points; if ids aren’t provided, Qdrant auto-generates UUIDs.
client.upload_points(
collection_name="{collection_name}",
points=[
models.PointStruct(
id=1,
payload={
"color": "red",
},
vector=[0.9, 0.1, 0.1],
),
models.PointStruct(
id=2,
payload={
"color": "green",
},
vector=[0.1, 0.9, 0.1],
),
],
parallel=4,
max_retries=3,
)
Default response format is markdown, if snippet output is required in JSON format, you can add &format=json to the query string.
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…