code/embedding-function/utilities/document_chunking/__init__.py (7 lines of code) (raw):

import os from typing import List import os.path import pkgutil # Get a list of all the classes defined in the module def get_all_classes() -> List[str]: return [name for _, name, _ in pkgutil.iter_modules([os.path.dirname(__file__)])] __all__ = get_all_classes()