Initial commit with real LangChain modules.: remove langchain_qdrant.py
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
"""Dummy langchain_qdrant module for local testing.
|
|
||||||
|
|
||||||
Provides a minimal QdrantVectorStore class that mimics the interface used in main.py.
|
|
||||||
"""
|
|
||||||
|
|
||||||
class QdrantVectorStore:
|
|
||||||
def __init__(self, client, collection_name, embedding):
|
|
||||||
self.client = client
|
|
||||||
self.collection_name = collection_name
|
|
||||||
self.embedding = embedding
|
|
||||||
|
|
||||||
def similarity_search_with_score(self, query, k=3):
|
|
||||||
# Return empty list for simplicity
|
|
||||||
return []
|
|
||||||
|
|
||||||
def add_documents(self, documents, ids=None):
|
|
||||||
# No-op
|
|
||||||
pass
|
|
||||||
|
|
||||||
def __repr__(self):
|
|
||||||
return f"<Dummy QdrantVectorStore collection={self.collection_name}>"
|
|
||||||
Reference in New Issue
Block a user