def _fallback_chunk_split(text: str):
    """Fallback method to split text when semantic chunking fails."""
    text_length = len(text)
    part_size = text_length // 3
    parts = [text[i : i + part_size] for i in range(0, text_length, part_size)]

    class MockChunk:
        def __init__(self, text):
            self.text = text

    return [MockChunk(part) for part in parts if part.strip()]
Fallback method to split text when semantic chunking fails.
backend/airweave/platform/transformers/default_file_chunker.py