Solution ready for review: add qdrant_client.py

This commit is contained in:
2026-06-02 12:20:30 +00:00
parent c92cab79f6
commit 8f917cd368
+25
View File
@@ -0,0 +1,25 @@
"""Dummy qdrant_client module for local testing.
Provides a minimal QdrantClient class and nested models used by main.py.
"""
class Distance:
COSINE = "cosine"
class VectorParams:
def __init__(self, size, distance):
self.size = size
self.distance = distance
class QdrantClient:
def __init__(self, url=None):
self.url = url
def get_collections(self):
return type("Collections", (), {"collections": []})()
def create_collection(self, collection_name, vectors_config):
pass
def __repr__(self):
return f"<Dummy QdrantClient url={self.url}>"