fix: fix python snippets formatting

This commit is contained in:
George Panchuk
2025-11-13 21:02:48 +07:00
parent ba429b523c
commit 3f6b2694a9
2 changed files with 12 additions and 10 deletions
@@ -2,19 +2,19 @@
from qdrant_client import QdrantClient, models
client = QdrantClient(
url="https://xyz-example.qdrant.io:6333",
api_key="<your-api-key>",
url="https://xyz-example.qdrant.io:6333",
api_key="<your-api-key>",
cloud_inference=True
)
client.query_points(
collection_name="<your_collection_name>",
query=models.Document(
text="How to bake cookies?",
model="openai/text-embedding-3-large",
text="How to bake cookies?",
model="openai/text-embedding-3-large",
options={
"openai-api-key": "<your_openai_api_key>",
"dimensions": 512
"openai-api-key": "<your_openai_api_key>",
"dimensions": 512
}
)
)