docs: Query API snippets with Python (#1095)

Co-authored-by: generall <andrey@vasnetsov.com>
This commit is contained in:
Anush
2024-08-23 22:48:27 +05:30
committed by GitHub
co-authored by generall
parent 4821e18664
commit e9fa9be0a4
17 changed files with 203 additions and 195 deletions
@@ -201,8 +201,9 @@ from qdrant_client import QdrantClient, models
client = QdrantClient(url="http://localhost:6333")
client.search(
client.query_points(
collection_name="{collection_name}",
query=[0.1, 0.1, 0.9],
query_filter=models.Filter(
must=[
models.FieldCondition(
@@ -213,7 +214,6 @@ client.search(
)
]
),
query_vector=[0.1, 0.1, 0.9],
limit=10,
)
```