class CollectionService:
"""
Service class for managing collections and their associated documents.
"""
def __init__(self, db: Session):
self.collection_repository = CollectionRepository(db)
self.user_collection_repository = UserCollectionRepository(db)
self.file_management_service = FileManagementService(db)
self.vector_store = get_datastore(settings.vector_db)
PREVIOUSLY:
TASK: