跳到正文
Skillpedia
数据库40k · #7353

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/qdrant-clients-sdk/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我该如何在 Python 中使用 Qdrant 添加数据?”

每周 5 个新技能,1 分钟读完。

工作原理

Qdrant 为多种语言提供了“工具包”。开发者安装与自己所用语言对应的工具包,然后参照示例来连接 Qdrant 并与之交互。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Qdrant Clients SDK

Qdrant has the following officially supported client SDKs:

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.

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能