| 123456789101112131415161718192021222324252627282930313233 |
- """LightRAG Sidecar writer infrastructure.
- Spec: ``docs/LightRAGSidecarFormat-zh.md``.
- This package owns the *single executable specification* of the LightRAG Sidecar
- file format. Parser engines (native / mineru / docling) hand it an
- ``IRDoc`` (intermediate representation) describing the document; the writer
- emits the spec-compliant ``*.parsed/`` directory.
- See :func:`lightrag.sidecar.writer.write_sidecar` for the entry point.
- """
- from lightrag.sidecar.ir import (
- AssetSpec,
- IRBlock,
- IRDoc,
- IRDrawing,
- IREquation,
- IRPosition,
- IRTable,
- )
- from lightrag.sidecar.writer import write_sidecar
- __all__ = [
- "AssetSpec",
- "IRBlock",
- "IRDoc",
- "IRDrawing",
- "IREquation",
- "IRPosition",
- "IRTable",
- "write_sidecar",
- ]
|