Commit History
-
feat(documents): PaddleOCR-VL parser for v2 processing, server toggle
Rifqi Hafizuddin +1: Claude Opus 5.5POST /api/v2/document/process now parses with PaddleOCR-VL-1.6 (Baidu AI Studio job API) by default; DOCUMENT_PARSER_BACKEND=paddleocr|mistral picks the parser server-side. New paddle_ocr.py (multipart submit -> poll state -> JSONL; figures downloaded at parse time) and normalize_paddle.py (same ParsedDocument; a title before a table becomes its caption; figures matched by label+bbox since the job API leaves image blocks empty). DOCX is refused on PaddleOCR with a readable error. Rows record their parser; chart images reach image-token. Knowledge pipeline default unchanged (Mistral). Live 2026-09-24: 64-page Komatsu manual -> completed, 80 chunks, 27 figures, signed figure URL 200. Needs PADDLEOCR_ACCESS_TOKEN. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>7ee2b45