From 0403d19b5a6bf467dc5fa2a8b4edbbda8cdfd59a Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 24 Jul 2026 14:42:26 +0800 Subject: [PATCH] fix: honor parser params and image VLM system_prompt in Go ingestion (#17334) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Fix the Go ingestion pipeline so that several parser setup switches and the image VLM prompt are actually honored end-to-end (previously the DSL fields existed but the Go code never read them). - **DOCX** (`docx_parser.go`, `docx_postprocess.go`): read `remove_toc` and `remove_header_footer`; apply to both JSON and markdown output paths (outline-based TOC removal with a text-heuristic fallback, plus header/footer section filtering). - **HTML** (`html_parser.go`, `html_postprocess.go`, `text_toc.go`): read `remove_header_footer` (pre-parse strip of `
`/`