backend-lehrer (10 files): - game/database.py (785 → 5), correction_api.py (683 → 4) - classroom_engine/antizipation.py (676 → 5) - llm_gateway schools/edu_search already done in prior batch klausur-service (12 files): - orientation_crop_api.py (694 → 5), pdf_export.py (677 → 4) - zeugnis_crawler.py (676 → 5), grid_editor_api.py (671 → 5) - eh_templates.py (658 → 5), mail/api.py (651 → 5) - qdrant_service.py (638 → 5), training_api.py (625 → 4) website (6 pages): - middleware (696 → 8), mail (733 → 6), consent (628 → 8) - compliance/risks (622 → 5), export (502 → 5), brandbook (629 → 7) studio-v2 (3 components): - B2BMigrationWizard (848 → 3), CleanupPanel (765 → 2) - dashboard-experimental (739 → 2) admin-lehrer (4 files): - uebersetzungen (769 → 4), manager (670 → 2) - ChunkBrowserQA (675 → 6), dsfa/page (674 → 5) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
39 lines
989 B
Python
39 lines
989 B
Python
"""
|
|
Qdrant Vector Database Service for BYOEH — barrel re-export.
|
|
|
|
The actual code lives in:
|
|
- qdrant_core.py (client singleton, BYOEH index/search/delete)
|
|
- qdrant_class.py (QdrantService class for NiBiS pipeline)
|
|
- qdrant_nibis.py (NiBiS RAG search)
|
|
- qdrant_legal.py (Legal Templates RAG search)
|
|
"""
|
|
|
|
# Core client & BYOEH functions
|
|
from qdrant_core import ( # noqa: F401
|
|
QDRANT_URL,
|
|
COLLECTION_NAME,
|
|
VECTOR_SIZE,
|
|
get_qdrant_client,
|
|
init_qdrant_collection,
|
|
index_eh_chunks,
|
|
search_eh,
|
|
delete_eh_vectors,
|
|
get_collection_info,
|
|
)
|
|
|
|
# Class-based service
|
|
from qdrant_class import QdrantService # noqa: F401
|
|
|
|
# NiBiS search
|
|
from qdrant_nibis import search_nibis_eh # noqa: F401
|
|
|
|
# Legal templates
|
|
from qdrant_legal import ( # noqa: F401
|
|
LEGAL_TEMPLATES_COLLECTION,
|
|
LEGAL_TEMPLATES_VECTOR_SIZE,
|
|
init_legal_templates_collection,
|
|
search_legal_templates,
|
|
get_legal_templates_stats,
|
|
delete_legal_templates_by_source,
|
|
)
|