Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

752 B
Raw Blame
"""
Deletion module for research library.

Provides clean separation of delete functionality:
- Document deletion with proper cascade cleanup
- Blob-only deletion (remove PDF, keep text)
- Collection deletion with cleanup
- Bulk delete operations

All delete operations ensure:
- Proper cleanup of related records (DocumentChunk has no FK constraint)
- FAISS index cleanup
- Filesystem file cleanup (if applicable)
- Clear return values for UI feedback
"""

from .services.document_deletion import DocumentDeletionService
from .services.collection_deletion import CollectionDeletionService
from .services.bulk_deletion import BulkDeletionService

__all__ = [
    "DocumentDeletionService",
    "CollectionDeletionService",
    "BulkDeletionService",
]