2026-02-28 05:22:07 +00:00
|
|
|
from dataclasses import dataclass
|
2025-11-07 02:30:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
@dataclass
|
|
|
|
|
class ChunkingConfig:
|
2026-02-28 05:22:07 +00:00
|
|
|
"""Legacy config kept for backward compatibility.
|
|
|
|
|
|
|
|
|
|
After the lightweight refactoring, chunking is done in Go.
|
|
|
|
|
This class is only kept so existing parser constructors don't break.
|
2025-11-07 02:30:02 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
chunk_size: int = 512
|
|
|
|
|
chunk_overlap: int = 50
|
2026-02-28 05:22:07 +00:00
|
|
|
separators: list[str] | None = None
|
2025-11-07 02:30:02 +00:00
|
|
|
enable_multimodal: bool = False
|
2026-02-28 05:22:07 +00:00
|
|
|
storage_config: dict[str, str] | None = None
|
|
|
|
|
vlm_config: dict[str, str] | None = None
|