Qdrant Clients SDK

Qdrant Clients SDK

Gives an agent a reference of Qdrant's official client SDKs, install commands and API links, plus a snippet search endpoint for code examples.

Skill files1 file
SKILL.md75 lines
1
---
2
name: qdrant-clients-sdk
3
description: "Qdrant provides client SDKs for various programming languages, allowing easy integration with Qdrant deployments."
4
allowed-tools:
5
- Read
6
- Grep
7
- Glob
8
- Bash
9
---
10
11
# Qdrant Clients SDK
12
13
Qdrant has the following officially supported client SDKs:
14
15
- Python — [qdrant-client](https://github.com/qdrant/qdrant-client) · Installation: `pip install qdrant-client[fastembed]`
16
- JavaScript / TypeScript — [qdrant-js](https://github.com/qdrant/qdrant-js) · Installation: `npm install @qdrant/js-client-rest`
17
- Rust — [rust-client](https://github.com/qdrant/rust-client) · Installation: `cargo add qdrant-client`
18
- Go — [go-client](https://github.com/qdrant/go-client) · Installation: `go get github.com/qdrant/go-client`
19
- .NET — [qdrant-dotnet](https://github.com/qdrant/qdrant-dotnet) · Installation: `dotnet add package Qdrant.Client`
20
- Java — [java-client](https://github.com/qdrant/java-client) · Available on Maven Central: https://central.sonatype.com/artifact/io.qdrant/client
21
22
23
## API Reference
24
25
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.
26
27
* REST API - [OpenAPI Reference](https://api.qdrant.tech/api-reference) - [GitHub](https://github.com/qdrant/qdrant/blob/master/docs/redoc/master/openapi.json)
28
* gRPC API - [gRPC protobuf definitions](https://github.com/qdrant/qdrant/tree/master/lib/api/src/grpc/proto)
29
30
## Code examples
31
32
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.
33
34
```bash
35
curl -X GET "https://snippets.qdrant.tech/search?language=python&query=how+to+upload+points"
36
```
37
38
Available languages: `python`, `typescript`, `rust`, `java`, `go`, `csharp`
39
40
41
Response example:
42
43
```markdown
44
45
## Snippet 1
46
47
*qdrant-client* (vlatest) — https://search.qdrant.tech/md/documentation/manage-data/points/
48
49
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.
50
51
client.upload_points(
52
collection_name="{collection_name}",
53
points=[
54
models.PointStruct(
55
id=1,
56
payload={
57
"color": "red",
58
},
59
vector=[0.9, 0.1, 0.1],
60
),
61
models.PointStruct(
62
id=2,
63
payload={
64
"color": "green",
65
},
66
vector=[0.1, 0.9, 0.1],
67
),
68
],
69
parallel=4,
70
max_retries=3,
71
)
72
```
73
74
Default response format is markdown, if snippet output is required in JSON format, you can add `&format=json` to the query string.
75

© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…