dy395769511-star/dsh-pdf-to-word ↗★ 0
dsh-pdf-to-word
DeepSeek Harness plugin: PDF→Word (.docx) conversion with layout fidelity (fonts/tables/images/borders), OCR scan mode, and optional multimodal LLM verification. Registers the pdf_to_word model tool.
AI 分析
核心用于高保真PDF文档转Word格式。适合有复杂排版、表格或扫描件转换需求的用户,可选多模态LLM进行校验,需配置Python运行环境。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dy395769511-star/dsh-pdf-to-wordドキュメント
README 全文を読む ↗配置(cordis.patch.yml 行 config:)
| 键 | 默认 | 说明 |
|---|---|---|
verifyProvider | local | 校验 LLM provider(须在 dsh「模型」设置中注册) |
verifyModel | Qwen3.8-27B | 校验 LLM 模型 |
convertTimeoutMs | 1800000 | 单次转换墙钟上限(ms) |
python | — | Python 解释器绝对路径(优先级最高) |
autoSetup | true | 置 false 禁用首次调用的 .venv 自动创建 |
Python 解释器解析顺序:行配置 python → 环境变量 PDF2WORD_PYTHON → /.venv;均未命中时自动创建(除非 autoSetup: false)。