mcpField
Q
qdrant-clients-sdk

qdrant-clients-sdk

github.com/githubデータ・データベース40.6k61 回インストール1 日前に更新
リポジトリ

qdrant-clients-sdk について

qdrant-clients-sdkは、Qdrantが公式にサポートするクライアントSDKとAPIを案内するスキルです。言語や用途に応じて、厳選されたコードスニペットも検索できます。

主な機能

  1. 016種類の対応クライアントSDKを掲載
  2. 02RESTとgRPCのAPIを網羅
  3. 03厳選コードスニペットを検索
  4. 046種類のスニペット言語に対応
  5. 05MarkdownまたはJSON形式で出力

活用シーン

  1. 01言語に合うQdrant SDKを選択
  2. 02RESTまたはgRPC APIのリファレンスを確認
  3. 03Qdrantの操作例を検索

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/github/awesome-copilot --skill qdrant-clients-sdk

インストール後、Claude Code で/qdrant-clients-sdkを入力して読み込まれたか確認します。

詳細

Qdrant クライアント SDK

Qdrant では、以下のクライアント SDK が公式にサポートされています。

API リファレンス

Qdrant とのすべてのやり取りは、REST API または gRPC API を通じて行えます。Qdrant を初めて使用する場合や、プロトタイプに取り組む場合は、REST API の使用をおすすめします。

コード例

特定のクライアントとユースケースのコード例を取得するには、Qdrant クライアント向けに厳選されたコードスニペットのライブラリに検索リクエストを送信します。

curl -X GET "https://snippets.qdrant.tech/search?language=python&query=how+to+upload+points"

利用可能な言語:python、typescript、rust、java、go、csharp

レスポンスの例:


## 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,
)

デフォルトのレスポンス形式は Markdown です。スニペットを JSON 形式で出力する必要がある場合は、クエリ文字列に &format=json を追加してください。

コメント