qdrant-clients-sdk
它能做什么
这个工具提供了代码库(SDK),让开发者可以在不同编程语言中使用 Qdrant。这样一来,他们就能更轻松地把自己的程序和 Qdrant 连接起来。
适用场景
- ✓当你想把程序连接到 Qdrant 数据库时。
- ✓当你在开发一个需要存储和搜索复杂信息的应用时。
- ✓当你想为软件集成智能搜索功能时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/qdrant-clients-sdk/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我该如何在 Python 中使用 Qdrant 添加数据?”
每周 5 个新技能,1 分钟读完。
工作原理
Qdrant 为多种语言提供了“工具包”。开发者安装与自己所用语言对应的工具包,然后参照示例来连接 Qdrant 并与之交互。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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://snippets.qdrant.tech/search?language=python&query=how+to+upload+points"
Available languages: python, typescript, rust, java, go, csharp
Response example:
## Snippet 1
*qdrant-client* (vlatest) — https://search.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.
常见问题
什么是 SDK?
SDK 是 Software Development Kit(软件开发工具包)的缩写,是一组帮助程序员为特定平台构建应用的工具。你可以把它想象成一套用来搭建东西的零件包。
什么是 Qdrant?
Qdrant 是一个专门用于相似度搜索的数据库,适合在海量数据中查找相似的信息。
在哪里可以找到代码示例?
你可以使用 Qdrant 的代码片段搜索工具,索取特定使用场景的代码示例,比如用 Python 实现“如何上传点数据”。
详情
作者的原始描述
Qdrant provides client SDKs for various programming languages, allowing easy integration with Qdrant deployments.
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7353
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。