__init__.py 587 B

12345678910111213
  1. """Document parsing layer.
  2. Sub-packages and modules:
  3. - ``routing``: parser engine selection and per-file parser directives.
  4. - ``debug``: minimal ``LightRAG`` stand-in for offline parser debugging.
  5. - ``cli``: ``python -m lightrag.parser.cli`` entry point for single-file
  6. parser debugging across all engines.
  7. - ``docx``: native ``.docx`` parser. Additional native format parsers
  8. should live as sibling sub-packages here (e.g. ``parser/pdf/``).
  9. - ``external``: adapters for external parsing services (``mineru``,
  10. ``docling``) that post to a remote API and cache the raw bundle.
  11. """