WeKnora/internal/infrastructure/docparser
wizardchen fd742fea42 feat: enhance MinerU response handling for document parsing
- Added support for parsing both `results.document` and `results.files` in the MinerU API response, allowing for more flexible handling of markdown content and images.
- Implemented fallback logic to prefer `results.document` when available, improving the robustness of document processing.
- Added debug and warning logging to track response path usage and potential issues with missing content.

These changes improve the reliability and clarity of document parsing from the MinerU API, ensuring better handling of varying response formats.
2026-03-05 18:14:14 +08:00
..
builtin_converter.go feat: introduce WeKnora Lite edition with lightweight configuration and deployment 2026-03-02 21:21:49 +08:00
engine_registry.go refactor: remove mineru_api_base_url from ParserEngineConfig and related components 2026-03-03 13:24:20 +08:00
grpc_parser.go refactor: simplify image handling in _resolve_images function 2026-03-03 22:23:23 +08:00
helpers.go feat: enhance document loading and state management in doc-content component 2026-03-02 21:21:49 +08:00
http_parser.go refactor: simplify image handling in _resolve_images function 2026-03-03 22:23:23 +08:00
image_resolver.go feat: add image icon detection and filtering functionality 2026-03-05 18:14:14 +08:00
image_resolver_test.go feat: add image icon detection and filtering functionality 2026-03-05 18:14:14 +08:00
mineru_cloud_converter.go refactor: remove mineru_api_base_url from ParserEngineConfig and related components 2026-03-03 13:24:20 +08:00
mineru_converter.go feat: enhance MinerU response handling for document parsing 2026-03-05 18:14:14 +08:00