Spaces:
Sleeping
Sleeping
| from qdrant_client import QdrantClient | |
| from qdrant_client.models import VectorParams, Distance, PointStruct | |
| client = QdrantClient(host="127.0.0.1", port=6333) | |
| # Health check | |
| try: | |
| health = client.qdrant_api.get_health() | |
| print("β Qdrant health:", health) | |
| except Exception as e: | |
| print("β Failed to connect to Qdrant:", e) | |
| exit() |