Use real Qdrant client integration for RAG memory: remove qdrant_client.py
This commit is contained in:
@@ -1,25 +0,0 @@
|
|||||||
"""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}>"
|
|
||||||
Reference in New Issue
Block a user