Feat: Add MD gen script, enable Qdrant lazy loading

This commit is contained in:
Alex
2025-05-13 14:03:05 +01:00
parent 44e98748c5
commit 39b36b6857
3 changed files with 50 additions and 3 deletions

View File

@@ -71,7 +71,6 @@ python-dateutil==2.9.0.post0
python-dotenv==1.0.1
python-jose==3.4.0
python-pptx==1.0.2
qdrant-client==1.13.2
redis==5.2.1
referencing==0.30.2
regex==2024.11.6

View File

@@ -1,11 +1,12 @@
from langchain_community.vectorstores.qdrant import Qdrant
from application.vectorstore.base import BaseVectorStore
from application.core.settings import settings
from qdrant_client import models
class QdrantStore(BaseVectorStore):
def __init__(self, source_id: str = "", embeddings_key: str = "embeddings"):
from qdrant_client import models
from langchain_community.vectorstores.qdrant import Qdrant
self._filter = models.Filter(
must=[
models.FieldCondition(